Regresi Terboboti (Weighted Regression / Weighted Least Square)
Business 205. Review Exam Least Square Regression Simple Linear Regression.
-
date post
22-Dec-2015 -
Category
Documents
-
view
217 -
download
1
Transcript of Business 205. Review Exam Least Square Regression Simple Linear Regression.
![Page 1: Business 205. Review Exam Least Square Regression Simple Linear Regression.](https://reader034.fdocuments.in/reader034/viewer/2022050714/56649d805503460f94a63bee/html5/thumbnails/1.jpg)
Business 205
![Page 2: Business 205. Review Exam Least Square Regression Simple Linear Regression.](https://reader034.fdocuments.in/reader034/viewer/2022050714/56649d805503460f94a63bee/html5/thumbnails/2.jpg)
Review
ExamLeast Square Regression
Simple Linear Regression
![Page 3: Business 205. Review Exam Least Square Regression Simple Linear Regression.](https://reader034.fdocuments.in/reader034/viewer/2022050714/56649d805503460f94a63bee/html5/thumbnails/3.jpg)
Preview
Multiple RegressionTrendsForecastingExcel
![Page 4: Business 205. Review Exam Least Square Regression Simple Linear Regression.](https://reader034.fdocuments.in/reader034/viewer/2022050714/56649d805503460f94a63bee/html5/thumbnails/4.jpg)
Multiple Regression
Using more than one IV in order to establish the relationship to the DV.
Price and Store Location Amount Sold
![Page 5: Business 205. Review Exam Least Square Regression Simple Linear Regression.](https://reader034.fdocuments.in/reader034/viewer/2022050714/56649d805503460f94a63bee/html5/thumbnails/5.jpg)
r values
Correlation between variablesHow well the two or more variables are
related
![Page 6: Business 205. Review Exam Least Square Regression Simple Linear Regression.](https://reader034.fdocuments.in/reader034/viewer/2022050714/56649d805503460f94a63bee/html5/thumbnails/6.jpg)
Coefficient of Determination (r2)
Proportion of variation in Y that is explained by the independent variable X
SST
SSR2 r
![Page 7: Business 205. Review Exam Least Square Regression Simple Linear Regression.](https://reader034.fdocuments.in/reader034/viewer/2022050714/56649d805503460f94a63bee/html5/thumbnails/7.jpg)
Residuals
Estimated errors0 Difference between the observed value (Y)
and the predicted value (Yp).
pi YYe
![Page 8: Business 205. Review Exam Least Square Regression Simple Linear Regression.](https://reader034.fdocuments.in/reader034/viewer/2022050714/56649d805503460f94a63bee/html5/thumbnails/8.jpg)
Multiple Regression
Model a dependent variable by several independent variables
Has a constant random error “ε”
Learn about the relationship between several IVs and a DV
nno xxxy ...2211
![Page 9: Business 205. Review Exam Least Square Regression Simple Linear Regression.](https://reader034.fdocuments.in/reader034/viewer/2022050714/56649d805503460f94a63bee/html5/thumbnails/9.jpg)
Multiple Regression adjusted r2
Reflects both the number of independent variables in a model and the sample size
Remember:
1
111 22
kn
nrradjusted
SST
SSR2 r
![Page 10: Business 205. Review Exam Least Square Regression Simple Linear Regression.](https://reader034.fdocuments.in/reader034/viewer/2022050714/56649d805503460f94a63bee/html5/thumbnails/10.jpg)
ANOVA table for Regression
Source df Sum of Squares Mean Square F
Regression k SSR SSR
k
MSR
MSE
Error n – k -1 SSE SSE
n-k-1
Total n - 1 SST
Testing if the slope of the regression line is statistically significant.
![Page 11: Business 205. Review Exam Least Square Regression Simple Linear Regression.](https://reader034.fdocuments.in/reader034/viewer/2022050714/56649d805503460f94a63bee/html5/thumbnails/11.jpg)
What can you do with Regression?
Trends Forecasting
![Page 12: Business 205. Review Exam Least Square Regression Simple Linear Regression.](https://reader034.fdocuments.in/reader034/viewer/2022050714/56649d805503460f94a63bee/html5/thumbnails/12.jpg)
Excel: Regression
ToolsData Analysis
Regression
![Page 13: Business 205. Review Exam Least Square Regression Simple Linear Regression.](https://reader034.fdocuments.in/reader034/viewer/2022050714/56649d805503460f94a63bee/html5/thumbnails/13.jpg)
Milestone 6
Look for your “best” reliabilityCronbach’s α = .83
Find the Average for each person’s survey using ONLY those questions that are reliable
Sort data by group conditionRun your analysisWrite up the different sections
![Page 14: Business 205. Review Exam Least Square Regression Simple Linear Regression.](https://reader034.fdocuments.in/reader034/viewer/2022050714/56649d805503460f94a63bee/html5/thumbnails/14.jpg)
Entering it in Excel
Create a variablefor the happiness mean.
When you start runningyour statistical analyses,you will be using the HapMean score only.
Number Gender Q1 Q2 Q3 HapMean
1 F 5 4 4 4.33
2 M 3 5 2 3.33
Make sure the survey is reliable.
Take the mean of the questions and only those questions that are reliable. This becomes the “happiness” score for that person.
![Page 15: Business 205. Review Exam Least Square Regression Simple Linear Regression.](https://reader034.fdocuments.in/reader034/viewer/2022050714/56649d805503460f94a63bee/html5/thumbnails/15.jpg)
Write up your Methods Section
You need an Independent Variables Section and a Dependent Variables Section
IV: Money a student makesDV: Satisfaction with tuition levels
![Page 16: Business 205. Review Exam Least Square Regression Simple Linear Regression.](https://reader034.fdocuments.in/reader034/viewer/2022050714/56649d805503460f94a63bee/html5/thumbnails/16.jpg)
IV write up
Independent Variables
Money a student makes. The independent variable was manipulated by two groups: those who made less than or equal to $10,000 a year (n = 2) and those that made more than $10,000 a year (n = 3).
![Page 17: Business 205. Review Exam Least Square Regression Simple Linear Regression.](https://reader034.fdocuments.in/reader034/viewer/2022050714/56649d805503460f94a63bee/html5/thumbnails/17.jpg)
DV write up
Dependent VariablesSatisfaction with tuition levels. A 5 point Likert-type scale was utilized in order to measure satisfaction. Questions were “I believe that we are paying too much for tuition,” “States should fund more money to schools,” and “We should all protest tuition hikes” (Cronbach’s α =.83).
*Only include those questions with that reliability!
![Page 18: Business 205. Review Exam Least Square Regression Simple Linear Regression.](https://reader034.fdocuments.in/reader034/viewer/2022050714/56649d805503460f94a63bee/html5/thumbnails/18.jpg)
Method Section
Study Write-upA quick paragraph on how you conducted
the studySince we “cheated”, you can make it up as if you
really did do the study
Demographic Section If you have demographic/categorical data,
report it in this section
![Page 19: Business 205. Review Exam Least Square Regression Simple Linear Regression.](https://reader034.fdocuments.in/reader034/viewer/2022050714/56649d805503460f94a63bee/html5/thumbnails/19.jpg)
Method Section Example (Study)
Participants (N = 5) were asked to complete a survey in class regarding how they felt about tuition hikes. Participants were randomly assigned to one of two conditions: they made $10,000 or less (n = 2) or they made more than $10,000. After they completed the survey, they were thanked and were free to leave.
![Page 20: Business 205. Review Exam Least Square Regression Simple Linear Regression.](https://reader034.fdocuments.in/reader034/viewer/2022050714/56649d805503460f94a63bee/html5/thumbnails/20.jpg)
Excel Countif Function
=Countif(range, criteria)
=countif(A1:A4, “f”)
=countif(A1:A4, “m”)
![Page 21: Business 205. Review Exam Least Square Regression Simple Linear Regression.](https://reader034.fdocuments.in/reader034/viewer/2022050714/56649d805503460f94a63bee/html5/thumbnails/21.jpg)
Descriptive Statistics
Tools Data Analysis
Descriptive Statistics
Be very careful with the output as it only counts how many are there, not how many are in each category within a group!
Additionally, if you dummy code (0/1), it will take a mean of the dummy coded values!
![Page 22: Business 205. Review Exam Least Square Regression Simple Linear Regression.](https://reader034.fdocuments.in/reader034/viewer/2022050714/56649d805503460f94a63bee/html5/thumbnails/22.jpg)
Method Section Example (demographics)
The sample (N = 5) consisted of 40% males and 60% females with an average age of 24 (M = 24.00, SD = 1.23). Participants were predominantly Caucasian (n = 4) and had stated that they drove to work (n = 3).
![Page 23: Business 205. Review Exam Least Square Regression Simple Linear Regression.](https://reader034.fdocuments.in/reader034/viewer/2022050714/56649d805503460f94a63bee/html5/thumbnails/23.jpg)
Results Section (no significance)
A two independent sample t-test was conducted to see if there was a difference between amount of money a student made and how satisfied they were with a tuition hike. The results revealed no significance.
![Page 24: Business 205. Review Exam Least Square Regression Simple Linear Regression.](https://reader034.fdocuments.in/reader034/viewer/2022050714/56649d805503460f94a63bee/html5/thumbnails/24.jpg)
Results Section (significance)
A two independent sample t-test was conducted to see if there was a difference between amount of money a student made and how satisfied they were with a tuition hike. The results revealed significance, t(4) = -3.00 , p < .05, two-tailed.
![Page 25: Business 205. Review Exam Least Square Regression Simple Linear Regression.](https://reader034.fdocuments.in/reader034/viewer/2022050714/56649d805503460f94a63bee/html5/thumbnails/25.jpg)
Group Work
Have your things ready:SurveyPrint out of dataReliabilityHypothesis
What test will you need to run?
![Page 26: Business 205. Review Exam Least Square Regression Simple Linear Regression.](https://reader034.fdocuments.in/reader034/viewer/2022050714/56649d805503460f94a63bee/html5/thumbnails/26.jpg)
The following are formulas you can use in order to find the information located in the ANOVA regression chart.
You do NOT need to perform this by hand!!! These formulas are for your own edification
![Page 27: Business 205. Review Exam Least Square Regression Simple Linear Regression.](https://reader034.fdocuments.in/reader034/viewer/2022050714/56649d805503460f94a63bee/html5/thumbnails/27.jpg)
Regression
Regression Sums of Squares Explained Variation for
Predicted values of Y
Error Sums of Squares Explained Variation for
Predicted values of Y
Sums of Squares Total
2)( yP MYSSR
2)( PYYSSE
2)( yMYSSTSSRSSESST
![Page 28: Business 205. Review Exam Least Square Regression Simple Linear Regression.](https://reader034.fdocuments.in/reader034/viewer/2022050714/56649d805503460f94a63bee/html5/thumbnails/28.jpg)
Standard Error of the Estimate
Standard deviation around the prediction line; measures variability around the prediction line
2n
SSESYX
![Page 29: Business 205. Review Exam Least Square Regression Simple Linear Regression.](https://reader034.fdocuments.in/reader034/viewer/2022050714/56649d805503460f94a63bee/html5/thumbnails/29.jpg)
Testing Significance
Mean Square Regression
k = number of independent variables in the regression model
k
SSRMSR
![Page 30: Business 205. Review Exam Least Square Regression Simple Linear Regression.](https://reader034.fdocuments.in/reader034/viewer/2022050714/56649d805503460f94a63bee/html5/thumbnails/30.jpg)
Testing for Significance
Mean Square Error
df = (n – k – 1)
1
kn
SSEMSE
![Page 31: Business 205. Review Exam Least Square Regression Simple Linear Regression.](https://reader034.fdocuments.in/reader034/viewer/2022050714/56649d805503460f94a63bee/html5/thumbnails/31.jpg)
Testing a Linear Regression Slope
Testing if the slope is statistically significant
MSE
MSRF