? Example 1.1 from Pindyck & Rubinfeld Handbook ? 8 observations of data on gradepoint average and family income. freq n ; ? frequency of data is none (cross section data) smpl 1 8 ; ? Sample and frequency are set; read in data. read y x ; 4 21 3 15 3.5 15 2 9 3 12 3.5 18 2.5 6 2.5 12; show series ; ? to see information on series read. print y x ; ? to see contents of series. msd y x ; ? to see the means and std. deviations of series. olsq y c x ; ? a simple regression (like figure 1.2 of P&R). ?graph x y @fit ; ? to see a screen plot, issue this command interactively. stop ; end ;