Join TSR now and get all your revision questions answeredSign up now

Fitting a model in R, Least squares estimates Watch

    • Study Helper
    • Thread Starter
    Offline

    17
    ReputationRep:
     \Bbb E(grades) =

\bigg( \alpha, teacher = Female

    and,

    \bigg( \alpha+\beta, teacher=Male

    given that I have loaded up the required data, how should I go about fitting this model in R? Then I need to find the least squared estimates of both \alpha and \beta which I think I will be able to do once I can fit the model.
    Thanks!
    Offline

    2
    ReputationRep:
    (Original post by RVNmax)
     \Bbb E(grades) =

\bigg( \alpha, teacher = Female

    and,

    \bigg( \alpha+\beta, teacher=Male

    given that I have loaded up the required data, how should I go about fitting this model in R? Then I need to find the least squared estimates of both \alpha and \beta which I think I will be able to do once I can fit the model.
    Thanks!
    Type help.start() in the console window, there will be a section on model fitting that you should read.
 
 
 
Poll
Which pet is the best?
Useful resources

Make your revision easier

Maths

Maths Forum posting guidelines

Not sure where to post? Read the updated guidelines here

Equations

How to use LaTex

Writing equations the easy way

Student revising

Study habits of A* students

Top tips from students who have already aced their exams

Study Planner

Create your own Study Planner

Never miss a deadline again

Polling station sign

Thinking about a maths degree?

Chat with other maths applicants

Can you help? Study help unanswered threads

Groups associated with this forum:

View associated groups

The Student Room, Get Revising and Marked by Teachers are trading names of The Student Room Group Ltd.

Register Number: 04666380 (England and Wales), VAT No. 806 8067 22 Registered Office: International House, Queens Road, Brighton, BN1 3XE

Quick reply
Reputation gems: You get these gems as you gain rep from other members for making good contributions and giving helpful advice.