polynomial

1. Linear modelling

Hi, I need some help with a modeling query: I have fit 100,000 linear models: M ~ age + age^2, M is the frequency. I found 2,000 models were significant, but would like to narrow it down to find the most ‘extreme’ cases. Is this possible? Does anyone have any suggestions or any references...
2. Multiple Polynomial Regression in R

Hi all, I need to do predict the values of some variables from a set of predictors. The variables I need to predict are called Y1 and Y2 belonging to Y. The predictors I have are X0, ..., X400 belonging to X. I tried to predict Y from X with several techinques (linear regression, lasso...
3. P

basic 3 year's observations forecasting - need for tips and feedback

Hello everybody, I need advice about simple forecasting strategies and wondered if anyone here could kindly give me feedback. In each of the four charts shown below we have three results (2011 to 2013) of the number of farmers (above) and school teachers (below) that have enrolled and...
4. Local polynomial regression

Hi, I have "smoothed" rather than using a linear line between X and Y. My R code is the following : # Loess model plot(Y ~ X) loess.model <- loess(Dataset$Y ~ Dataset$X) loess.model hat <- predict(loess.model) lines(Dataset$X[order(Dataset$X)], hat[order(Dataset\$X)], col="red")...
5. Best regression using ANOVA technique: trend comparisons in a 3x5 factorial

Hello all: I need help using the ANOVA technique to arrive at an appropriate form of a multiple regression equation between the response (disease severity) and the two factors tested (spring rate) and (summer rate) in an field study. The experimental design is a 3 x 5 factorial arranged as a...
6. spline regression - plynomial coefficients

Hello, I have a problem with spline regreession in R. Suppose following: library(splines) K=c(14,20) plot(cars) reg=lm(dist~bs(speed,knots=c(K), degree=2),data=cars) Is it possible to get (somehow) spline coefficients? I would like to obtain something like this: for 0<speed<14 ...