You are not logged in.
Hi bobbym,
Thank you for looking
I was shown that if there was a measurement error in for e.g. X then we could write the error as follows:
Does it make it different in this context?
HI guys,
May I ask if anyone here is a bit of a regression expert?
You are given a dependent variable y, and independent variable x such that the regression would be:
There is the possibility that both x and y have measurement errors in them.
You are also given the lagged (by one period) dataset of x and y (x_1 and y_1 respectively).
How would you go about fixing this error?
______________________________________________________________________________________________________________________
May I ask if my approach is correct?
I would use the lagged data to estimate the true values of x & y, so that the errors are no longer correlated so that the model would look as follows
Then this would be the equivalent of running a two way least squares regression with x_{1} and y_{1} as instrumental variables?
Thank you in advance for any feedback
Regards,
Linda
Hi gAr,
Thank you very much for having a look!!
The second part I've never come across before, though I get similar answers using Hessian and Fisher Information methods
Linda
Hi guys,
I am back with an annoying MLE as follows (sorry in advance for the length!!!):
http://imageshack.us/photo/my-images/199/83863226.png/
The first part requires developing an MLE for theta.
First I defined the log likelihood of this function as follows:
The differentiated it with respect to theta to obtains
Equating the above to 0 and rearranging it to obtain theta I get:
Do you guys get anything similar?
The second part requires calculating a variance for the estimator so my thoughts were to use the following rules:
So I used these following steps:
Thank you in advance for any feedback
Hi bobby,
Yes I did the full 6 days (I'm proud, it was torturous), but back in Sydney now - which is so cold atm.
Hi bobbym,
I think I would be quickly escorted out of Vegas if I tried!
I actually went here for hiking http://www.parks.tas.gov.au/index.aspx?base=1253
I run linux, so use gedit (notepad equivalent) with a latex plugin.
I've seen alot of raving about lyx, but I prefer to work directly with a .tex file
Hi gAr and bobby,
Apologies for delayed response, I've been on a little holiday.
Yes!!! That's the answer. Very interesting you used the mgf instead, its much more efficient!!!
Thank you for laying out an alternative
Hi bobby,
Great, thanks for the assistance!! I'll remember to post the answer, when I get it
Looks like we got it wrong bobbym (I secretly blame you, jk) - used the wrong bounds
instead ofSimilarly for
:Calculating the variance:
Substituting this back gives:
Hi guys,
I'd like to say a BIG thank you for all your help with my stats questions!!!
Crazy exam by crazy lecturer, but you got me all prepped and on the right line of thinking for questions.
My next subject next semester - Stochastic Calculus
You might hear even more from me then, jk
Hi gAr,
I think yours is correct as it maintains the sum notation throughout.
I should do it your way, as I initially obtained the same MLE as you before canceling out the "n's" - which I shouldn't have since n and sigma notation are different in this case
I had
Thank you both for your feedback and sharing!!!
Hi bobby,
I am not sure
I previously did it that way as per http://www.mathisfunforum.com/viewtopic.php?id=15626, but in post #11 Bob corrected it with the last part of a cdf should be 1.
I am also follows the example I found here (the very last question):
http://www.stat.cmu.edu/~larry/=stat705/test1sol.pdf
Hi;
I'm assuming it is 1 due to the definition of a cdf ranging from [0,1]. Is this a valid approach?
Hi Bob,
That is all we were given for the question (per the past paper I am looking at).
Hi bobby,
Thanks for the feedback. I have never seen it the way I do it either, but I've never got a scalar as an answer for other similar questions.
Maybe it is that simple, I certainly hope so!!!
For part 4 of the question:
Using part 3) of the question, if X=12, then
However I am uncertain how to proceed to obtain P(Y>8). May I ask if you have any suggestions?
Yes, that is what I originally got as well, which I do not think is right.
I got a similar question in my assignment just passed, and we had to find the limits by drawing out those bounds, like you would when dealing with double integrals.
So I tried that approach above, but it seems like over-complicating things.
Hi gAr,
I've just tried Mathematica again and got the answers. I must have defined too many symbolic relations (I had many notebooks open last time I tried it).
I've just defined
f[t_] := ((3 t - 1) E^t + (1 - t) E^-t)/(4 t^2)
f'[t] // Simplify
m=f'[t]
Limit[m, t->0]
This is great for me, because the output from Mathematica is much easier to read than Matlab's
Hi bobbym,
I've updated post#3 to expand on it a bit.
w.r.t to Mathematica, not at the moment (I seem to have made a rookie mistake), however thank you for asking!!!
Hi bobbym,
I first looked for the expectation of the integral from Q1
Then equating
Hi lindah,
Good news is I can bring a laptop to my exam.
With mathematica?!
It can do most of the things for you!
Yes, I've installed Mathematica (for a regression question using matrices in the exam) and Matlab for finding derivatives.
I tried putting the question I asked in this thread through Mathematica, but it didn't seem to be able to process it.
With Matlab I obtained the same answers as you!
Hi bobbym,
I am not sure either
May I ask what your approach to find the marginal density for y would be?
In attempting this I arrive at
Then finding the cdf of
I have:So my cdf is
Then the pdf is the derivative of this
All critiques are welcome!!
Hi Guys,
I am attempting another question for my exam as follows:
http://imageshack.us/photo/my-images/32/48188946.png/
For Q1) I used the following limits for my integral
Q2) My final answer is:
Q3) My answer after solving the derivative of the log likelihood
Thank you in advance
Linda
I used a CAS to get the derivative and the limit.
And yes, if I'm not using a computer, I'd use L'Hôpital's rule.
Hi
Thanks for this, up to this point I had only used Mathematica as CAS software.
I started using Matlab and got this. All this time I'd been performing this work by hand. Good news is I can bring a laptop to my exam.
Hi bobby and Dragonshade,
Thanks for the confirmation!
Does anyone have an idea about the marginal density of Y?