This week you will perform a basic linear regression. * Please be aware of the very strict data requirement for running linear regression: your DV and IV both have to be continuous variables. (Most variables at interval/ratio level are continuous variables.) This rule is solid for DV: if your DV is a nominal or ordinal variable, you CANNOT use it as the DV for regression, not even when it is converted to a dummy variable (b/c the regression is no longer linear). It is a necessity that your DV is a “continuous” variable with interval/ratio level of measurement.
If your current DV won’t work for regression test, please choose a “continuous” variable from GSS data set as your temporary DV for the week in order to practice regression analysis. Some examples of “continuous” variables from GSS 2012 data: tvhours, hrs1, etc. You don’t have to include regression test in your final portfolio if your DV won’t work for regressing test. Keep in mind, regression is also a form of significance test. Your porfolio only needs ONE significance test (we have learned: independent sample t-test, dependent sample t-test, Chi-square, and regression.)
Creating dummy variables
If an IV is not continuous (like race, sex), you could make things work by creating dummy variables based on these variables. For example, based on variable “sex,” we can make a “male dummy variable” or a “female dummy variable.” Based on variable “race,” we can create a “white dummy variable” or “black dummy variable,” or “other dummy variable.”
By custom, we’ll name the dummy variable using the value we coded as 1. For example, if we denote “male” as 1, female as 0, we’ll name this dummy as “male dummy variable.” If we denote “white” as 1, then we’ll name this dummy as “white dummy variable.” This naming method helps readers/researchers remember/understand what dummy variables stand for in a study.
Here is a youtube video which shows the essential steps of creating dummy variables: https://www.youtube.com/watch?v=R0qc4rzr9ik
In this week’s forum discussion, you are required to run a linear regression using:
1. your DV (if your DV is not a continuous variable, pick one from the GSS 2012 data set as your temporary DV for the week so you can practice regression)
2. and two dummy variables created based on variable “sex” and “race” in the GSS 2012 data set.
SPSS command to run linear regression
Analyze – Regression – Linear
Output interpretation
The proper way to interpret linear regression is writing the regression equation. Here is an example:
DV: educ (highest year of school completed, a continuous variable at I/R level)
IV: male dummy variable (based on variable “sex”) and white dummy variable (based on variable “race”)See equation below. We use * to mark the variable that is statistically significant.
Educ=13.031-.054male+.696white*
Here is the fun part: prediction of respondents’ highest year of school completed based on their race and sex.
Based on this equation:
A white male by average will have 13.673 years of education: 13.031-.054*1+.696*1=13.673
A nonwhite female by average will have 13.031 years of education: 13.031-.054*0+.696*0=13.031
Approximate price: $22
We value our customers and so we ensure that what we do is 100% original..
With us you are guaranteed of quality work done by our qualified experts.Your information and everything that you do with us is kept completely confidential.You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.The Product ordered is guaranteed to be original. Orders are checked by the most advanced anti-plagiarism software in the market to assure that the Product is 100% original. The Company has a zero tolerance policy for plagiarism.The Free Revision policy is a courtesy service that the Company provides to help ensure Customer’s total satisfaction with the completed Order. To receive free revision the Company requires that the Customer provide the request within fourteen (14) days from the first completion date and within a period of thirty (30) days for dissertations.The Company is committed to protect the privacy of the Customer and it will never resell or share any of Customer’s personal information, including credit card data, with any third party. All the online transactions are processed through the secure and reliable online payment systems.By placing an order with us, you agree to the service we provide. We will endear to do all that it takes to deliver a comprehensive paper as per your requirements. We also count on your cooperation to ensure that we deliver on this mandate.
test whether the two variables relig16 and letdie1 are independent or if the belief that doctors should be allowed to euthanize a patient with an incurable disease on request of the patient and the patient’s family significantly depend on their religion.
Never use plagiarized sources. Get Your Original Essay on
test whether the two variables relig16 and letdie1 are independent or if the belief that doctors should be allowed to euthanize a patient with an incurable disease on request of the patient and the patient’s family significantly depend on their religion.
Hire Professionals Just from $11/Page