Skip to content

lab 6- question 2 #23

@malmufre

Description

@malmufre

Hi Dr Jessy,
This is what I did for qs 2

b0 <- 35.348269
b1 <-  7.361023 
b2 <- -0.251607 

x <- 1
happy.15k <- b0 + b1*x + b2*x*x

x <- 2
happy.25k <- b0 + b1*x + b2*x*x

happy.25k - happy.15k  # marginal effect of $10k increase at $15k starting salary

I just changed the B0 ,B1 and b2 according to the codes given and input them
and I got 6.606202
for all the questions since the change in salaries is 10 k for all cases
is that correct?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions