H-ZeroAccess

129 views
Skip to first unread message

Celina H.

unread,
Mar 3, 2022, 6:19:58 AM3/3/22
to NCCU DS4CS
Dear Professor, dear teaching assistant,

I have a question regarding the first homework. In the "UFO?" section,  the task is to predict the attack counts for each state using linear regression. However, in your version the following linear regression is shown:

median_house_value = +6.122032984138616e-05 * pop +4.277635450980529e-05 * income +1.3965378813110904e-07 * ipaddr -0.02791476271308256 * ufo2010 
-10.96081023257562

I could not find any data to the median house value in the data sets provided.
Should we disregard this since the task states that the number of attacks is the dependent variable?

I also have a general question. We should state, which department we belong to. Since I am an international
exchange student I just wrote "College of Commerce (international exchange student)". Is that okay?

Thank you in advance.
Sincerely,
Celina Hanoldt

Mike Hsiao

unread,
Mar 8, 2022, 9:02:20 AM3/8/22
to NCCU DS4CS
Hi, Celina,


I'm sorry that this email does not go to my email box correctly.

According to the "Dep. Variable: attack" shown in the next cell, the target (y) of this regression should be 'attack'. So the "median_house_value" is incorrect, and it should be "attack".


Thanks,
Hsiao

celina....@gmail.com 在 2022年3月3日 星期四下午7:19:58 [UTC+8] 的信中寫道:
Reply all
Reply to author
Forward
0 new messages