What tools for AI do you suggest I learn?
Take George Dell's class on data analysis - it's a bit disorganized, but the class centers around an introduction to R and R Studio. I'm in the middle of the class now, and it's started me down the 'R' rabbit hole. I've used Excel and MiniTab in the past, but those are fairly static offerings. R Studio has a literally unending amount of already coded 'applets' that are basically plug and play once you've learned the environment. WRT literal 'AI' applications, I've used Claude, Copilot and ChatGPT. What's really cool is that I can tell ChatGPT to write a script in R to do whatever. For instance: "Write a script in R that plots (X,Y) observations and adds both first and third degree polynomial trendlines"
Here is the script:
# Generate example data (x and y observations)
set.seed(42) # Set seed for reproducibility
x <- seq(1, 10, by = 0.5)
y <- 2 * x + 3 + rnorm(length(x), 0, 2) # Linear relation with some noise
# Fit first-degree (linear) and third-degree polynomials
linear_model <- lm(y ~ x)cubic_model <- lm(y ~ poly(x, 3))
# Create the plot of the (x, y) observations
plot(x, y, main = "Scatter Plot with Trend Lines", xlab = "X", ylab = "Y", pch = 19, col = "blue")
# Add the first-degree (linear) trend lineabline(linear_model, col = "red", lwd = 2)
# Add the third-degree polynomial trend line (predict values over a smooth range)
x_smooth <- seq(min(x), max(x), length.out = 100)
y_smooth_cubic <- predict(cubic_model, newdata = data.frame(x = x_smooth))
lines(x_smooth, y_smooth_cubic, col = "green", lwd = 2)
# Add a legendlegend("topleft", legend = c("Data Points", "Linear Trend Line", "Cubic Trend Line"),
col = c("blue", "red", "green"), pch = c(19, NA, NA), lwd = c(1, 2, 2))