Professional Documents
Culture Documents
Notes
Notes
Lm – linear model
Def : is used to build linear model using predictor and response variable this model can be used
further for prediction this function requires min. two arguments
1. Formula
2. Data
P = no. of predictors
Multiple regression means many independent variables and one dependent variable. Many
predictors and 1 response
Examples – Financial time series, scientific time series, demographic time series, meteorological time
series
To isolate , study, analyse and measure them independently i.e, holding the other things constant
To predict or estimate or forecast the behaviour of the phenomenon in future which is very essential
for business planning
The pattern or behaviour of the data in a time series has several components
However, this decomposition is often not straight-forward because these factors interact
Trend component
The trend component accounts for the gradual shifting of the time series to relatively higher or
lower values over a long period of time
Trend is usually the result of long term factors such as changes in the population, demographics,
technology or consumer preferences
Periodic movements
Forces which prevent the smooth flow of the series in a particular direction and tend to repeat
themselves over a period of time
Seasonal variations
T test
- Paired t test
- 2 independent sample t test