Skip to content

Lab -06 #14

@sunaynagoel

Description

@sunaynagoel

When I regress the variable using linear model

==========================================================
                                   Dependent variable:    
                               ---------------------------
                                       Happiness-y        
----------------------------------------------------------
Income-X                                0.0002***         
                                        (0.00000)         
                                                          
Constant                                50.871***         
                                         (0.390)          
                                                          
----------------------------------------------------------
Observations                              2,000           
Adjusted R2                               0.690           
==========================================================
Standard errors in parentheses *p<0.1; **p<0.05; ***p<0.01

But when I regress the model using Quadratic model, I Get

==========================================================
                                   Dependent variable:    
                               ---------------------------
                                       Happiness-y        
----------------------------------------------------------
Income-X                                0.001***          
                                        (0.0001)          
                                                          
x_squared                                -0.000*          
                                         (0.000)          
                                                          
Constant                                30.714***         
                                         (0.657)          
                                                          
----------------------------------------------------------
Observations                               574            
Adjusted R2                               0.808           
==========================================================
Standard errors in parentheses *p<0.1; **p<0.05; ***p<0.01

I noticed b0 and b1 changed, with is understandable but observation sized decreased from 2000 to 574. Am I missing something ?

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