This slide show (.pptx) provides an example for conducting linear regression in R programming language. It estimates production function. You can find the R code in the slides and some supportive footnotes in the Notes Pane. Sample dataset comes from Gretl open access database. This presentation contains 6 slides with different steps of the analysis.
1. Importing and transforming data
2. Constructing linear regression model
3. Interpreting the result and evaluating specification
Literature cited in the presentation: Solow, R. M. (1957): Technical Change and the Aggregate Demand Function. In: The Review of Economics and Statistics Vol.39, No.3, pp. 312-320
Also see, for the description of the dataset:
Greene W. H.(2003): Econometric Analysis Fifth Edition. Pearson Education Inc, Upper Saddle River, New Jersey