'''Goal:''' Our goal is to predict the median income using one explanatory variable by using SOCR. In this example, we will use the age variable.

'''Goal:''' Our goal is to predict the median income using one explanatory variable by using SOCR. In this example, we will use the age variable.

-

''Step 1:'' First, we will import the data into the SOCR Simple Regression Analysis Activity. Head to http://wiki.stat.ucla.edu/socr/index.php/SOCR_Data_LA_Neighborhoods_Data#Data_Source and find the table with the data. Select all of the data, and press Ctrl+C (Apple+C on Macs) to copy it.

+

''Step 1:'' First, we will import the data into the SOCR Simple Regression Analysis Activity. Head to http://wiki.stat.ucla.edu/socr/index.php/SOCR_Data_LA_Neighborhoods_Data#Data_Source and find the table with the data. Select all of the data, and press Ctrl+C (Command+C on Macs) to copy it.

''Step 2:'' Next, head to http://socr.ucla.edu/htmls/SOCR_Analyses.html, and find the Simple Regression Analysis Activity in the drop-down menu. [[File:SReg2.png|center|800px]]

''Step 2:'' Next, head to http://socr.ucla.edu/htmls/SOCR_Analyses.html, and find the Simple Regression Analysis Activity in the drop-down menu. [[File:SReg2.png|center|800px]]