Questions
251ECON-184B-1 Practice coding test
Essay
Use the data set in this file. You will use the following variables:subs: number of library subscriptionsprice: library subscription pricePublisher: categorical variable with 5 possible values “Academic Press”, “Blackwell”, “Elsevier”, “Kluwer” and “Others”.pages: number of pagesAnswer the following questions.(a) Run the following regression:\(Y= \beta_0 + \beta_1 X_1 + \beta_2 X_1^2 + \beta_3 X_2 +\beta_4 X_3 +\beta_5 X_4 + \beta_6 X_5 +u, \)\(Y\)=subs, \(X_1\)=price, \(X_2\): binary variable for Publisher (1 means “Academic Press” and 0 means “not Academic Press”) \(X_3\): binary variable for Publisher (1 means “Blackwell” and 0 means “not Blackwell”) \(X_4\): binary variable for Publisher (1 means “Elsevier” and 0 means “not Elsevier”) \(X_5\): binary variable for Publisher (1 means “Kluwer” and 0 means “not Kluwer”) Make sure you define the binary variables. (5 points)(b) Using the regression in part (a), compute the p-value for testing \(H_0: \ \beta_6=0 \) vs \(H_1:\ \beta_6\neq 0 \). (5 points)(c) Using the regression in part (a), compute the p-value for testing \(H_0: \ \beta_1=\beta_2=0 \) vs \(H_1: \) at least one of \(\beta_1, \beta_2 \) is not zero. (5 points)(d) Using the regression in part (a), compute the p-value for testing \(H_0: \ \beta_5+4 \beta_6=0 \) vs \(H_1:\ \beta_5 + 4 \beta_6 \neq 0 \). (Hint: use the linearHypothesis command. You can choose to transform the regression, but it might be harder than using the linearHypothesis command.) (5 points)(e) Using the regression in part (a), compute the p-value for testing \(H_0: \ \beta_4+\beta_5=\beta_3+\beta_6=0 \) vs \(H_1: \) at least one of \(\beta_4+\beta_5\) and \( \beta_3 +\beta_6\) is not zero. (5 points)
View Explanation
Verified Answer
Please login to view
Step-by-Step Analysis
This question presents a data analysis task with several subparts (a)–(e) but does not provide explicit answer choices to evaluate. I will outline how to restate and approach each part, including definitions, hypotheses, and the statistical tests you would perform.
Part (a): Define the regression model and binary predictors
- Restate the model: Y = subs, X1 = price, X1^2 is the price squared term, and X2–X5 are binary indicators for publishers. The model is Y = β0 + β1 X1 + β2 X1^2 + β3 X2 + β4 X3 + β5 X4 + β6 X5 + u.
- Define binary variables exactly as described: create four dummy variables for publishers, with one publisher serving as the reference category (the one not included among X2–X5, which would be “Others”). For example:
- X2 = 1 if Publisher = Academic Press, 0 otherwise.
- X3 = 1 if Publisher = Blackwell, 0 otherwise.
- X4 = 1 if Publisher = Elsevier, 0 otherwise.
- X5 = 1 if Publisher = Kluwer, 0 otherwise.
- This means the base group is Publisher = Others.
- Explain the interpretation briefly: β1 captures the linear price effect on subscriptions, β2 captures the curvature (price sq......Login to view full explanationLog in for full answers
We've collected over 50,000 authentic exam questions and detailed explanations from around the globe. Log in now and get instant access to the answers!
Similar Questions
In a consumer society, many adults channel creativity into buying things
Economic stress and unpredictable times have resulted in a booming industry for self-help products
People born without creativity never can develop it
A product has a selling price of $20, a contribution margin ratio of 40% and fixed cost of $120,000. To make a profit of $30,000. The number of units that must be sold is: Type the number without $ and a comma. Eg: 20000
More Practical Tools for Students Powered by AI Study Helper
Making Your Study Simpler
Join us and instantly unlock extensive past papers & exclusive solutions to get a head start on your studies!