Results 1 to 4 of 4

Math Help - Regression - finding alpha and beta

  1. #1
    Newbie
    Joined
    Sep 2012
    From
    Texas
    Posts
    8

    Regression - finding alpha and beta

    This one really has me stumped.

    I have a variable X that can have the values of 0 and 1. I have a sample of n1 observations where X=0 and n2 observations where X=1. Ybar1 is the mean value for the n1 observations where X=0; Ybar2 is the mean value of Y for the n2 observations where X=1. For the OLS regression: Y=alpha + betaX + e, I need to somehow find the values of alpha and beta in terms of n1 and n2.

    This is what I think I know:
    When X=0, Ybar1 is 0 so Y=alpha in the n1 case.
    When X=1, Ybar2 is 1 so Y=alpha+beta in the n2 case.

    I asked for help from the professor and he wrote "You can show it with matrices or with the scalar version of the bivariate regression model. If you choose the latter, split your data and do the computations where n1 are the 1...n1 cases where X is coded as 0 and n1+1...n = n2 cases are the ones where X is coded as 1. You are basically splitting up the summation of the covariances and variances over these two subset so data cases", but I honestly do not know what any of that really means.
    Follow Math Help Forum on Facebook and Google+

  2. #2
    MHF Contributor
    Joined
    Sep 2012
    From
    Australia
    Posts
    3,619
    Thanks
    592

    Re: Regression - finding alpha and beta

    Hey drabbie.

    Can you just state your model and the conditions for your model and if you are using categorical or contingent rules, please specify the nature of those rules.
    Follow Math Help Forum on Facebook and Google+

  3. #3
    Newbie
    Joined
    Sep 2012
    From
    Texas
    Posts
    8

    Re: Regression - finding alpha and beta

    Oh wow, I don't know what that means either

    The model given to us was a simple bivariate regression: Y=alpha + betaX + e

    Beyond that, all that was given was the n1 observations where X=0 and n2 observations where X=1. And to find alpha and beta in terms of n1 and n2.

    Since I don't know what categorical or contingent rules are, I'm assuming there are none.
    Follow Math Help Forum on Facebook and Google+

  4. #4
    MHF Contributor
    Joined
    Sep 2012
    From
    Australia
    Posts
    3,619
    Thanks
    592

    Re: Regression - finding alpha and beta

    Recall that the mean of x = n2/(n1+n2).

    Try looking at the formulas for point estimates of alpha and beta, and convert the expressions for the mean, variance and other attributes of x into terms involving n1 and n2 (I gave you a starting point with x_bar = n2/(n1+n2))
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Linear Regression: parameter estimation of alpha and beta?
    Posted in the Advanced Statistics Forum
    Replies: 2
    Last Post: March 9th 2011, 07:17 AM
  2. |alpha-beta|
    Posted in the Algebra Forum
    Replies: 1
    Last Post: January 30th 2009, 06:28 AM
  3. derive cos(alpha+beta) sin(alpha+beta)?
    Posted in the Trigonometry Forum
    Replies: 3
    Last Post: December 7th 2008, 03:27 PM
  4. Values for alpha and beta.
    Posted in the Algebra Forum
    Replies: 6
    Last Post: July 2nd 2007, 03:50 PM
  5. FIND sin alpha and sin beta
    Posted in the Trigonometry Forum
    Replies: 3
    Last Post: April 17th 2006, 09:34 AM

Search Tags


/mathhelpforum @mathhelpforum