Sample task for regression analysis / Beispielaufgabe zur Regressionsanalyse

in math •  7 years ago  (edited)

In this task, the relationship between a company's advertising expenditures and its revenues is to be investigated.
In dieser Aufgabe soll der Zusammenhang zwischen den Werbeausgaben einer Firma und deren erzielten Umsätzen untersucht werden.

Year/JahrSales/UmsatzMarketing/Werbeausgaben
201381
2014113
2015134
2016123
2017167

Parameter Estimation

Parameter Schätzung


What is the dependent variable and what is the independent variable? The advertising expenses can be changed by the company, the company has no direct influence on the turnover, so the turnover is the dependent variable and the advertising expenses are the independency variable.
Was ist hier die Abhängige- und was die Unabhängige-Variable? Die Werbe ausgaben können von der Firma verändert werden, auf die Umsätze hat die Firma keinen direkten Einfluss, somit ist der Umsatz die Abhängige- und die Werbeausgaben die Unabhängie-Variable



First we write the data as matrices/vectors and add a column to X because we want to calculate a model with intercept.
Zuerst schreiben wir die Daten als Matrizen/Vektoren wobei wir X um eine Spalte erweitern da wir ein Modell mit Konstante berechnen wollen.

 


For more information about matrix calculation, see: Overview of matrices calculation Part 1 and Part 2
Weitere Informationen zur Matrizenrechnung finden Sie unter: Übersicht zur Matrizen Rechnung Teil 1 und Teil 2

 



Residues and error variance

Residuen und Fehlervarianz

 



Coefficient of determination

Determinationskoefizient

 




ANOVA

ANOVA

 

SQdfF-Statistik
SQE32.5521
SQR1.4483F = (32.552/1) / (1.448/3) = 67.442
SQT34.0005F(0.95, 1, 3) = 10.14

 

The H0: beta = 0 is rejected at the 5% level.
Die H0: beta = 0 wird auf dem 5%-Niveau abgelehnt

 


 

Forecast and forecast interval

With an advertising budget of 20, what turnover can be expected?

Prognose und Prognoseintervall

Bei einem Werbeetat von 20 kann voraussichtlich mit welchem Umsatz gerechnet werden?

 



Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

just had an econometrics exam yesterday. could have needed your help, that's for sure...!

Hi, I hope you passed the exam without help.

great post...
i like it... resteem done

I'm glad you like my post, and thank you for resteem

Muy buena explicación @darkstar. El desarrollo de las operaciones con matrices muy bien trabajado. Excelente