- OUR THIRD BERNOULLI EQUATION OH YEAHHH
- The exp is there because stata is dumb and doesn't have a normal factorial function, so we have to take e^ln(factorial) to cancel stuff.
- Shows our Beta-hat! It is the same vector as what we calculated by-hand! Which means we didn't mess up, and row-reduction is obviously the superior way to invert a matrix. Don't hate on row-reduction. Don't hate. It's serious business.
- I don't understand why the label variable isn't working for this; it worked in my last assignment. :( Sadfayce.
- Had to set up our first plot again because R yelled at me. The lines command adds the second line (the log CDF function) to our first plot.
- Combines our first two equations into one! Needed to reestablish the plot because R gets angry otherwise. Grr.
- Shows our B-hat values, and...awesomesauce! We have the same results here as we computed by hand!
- Okay, now, we had to take the scalar that R found and redefine it. Why? Because R is silly, apparently, and does not recognize that a 1x1 matrix is a scalar, and therefore can be multiplied by a 3x3 matrix. When trying to multiply it as it was, R yelled at us. Silly R, you need to relearn linear algebra!
- Manually putting our standard errors into a vector because I am a derp and I don't remember how to extract the standard errors automatically.
- None of these are working and I don't know why! I am not going to have a graph for this one, sorry.
:( I played around with a few other codes that didn't make it into this, so hopefully these attempts are okay. I'd look more right now but my internet has been out for a few hours now and looking on my phone is really difficult, actually. Sob.
I'm kind of an idiot while annotating. Also this is my way of procrastinating on my assignment, since I...feel like I have the right code but still think my regression results are incorrect? It's really weird.
Really, I'm just in this mode of "update ALL THE TIME" for this thing and I have no fucking idea why aha I just like to.
My parents said they were pleased that I sounded happier today than when I talked to them last week. And they're trying to help me get my medication for even cheaper, so I'll take care of that when I go home for break in two weeks.
No comments:
Post a Comment