0

I have a random variable which gets the parameters alpha and beta. but they're unknown and I need to estimate them. Can I create a function dependent on alpha and beta (without having them), and to derive the function in R?

i tried to define the function but without using an actual alpha and beta (but WITH the variables of the sample!), and by using the function expression it doesn't look like the actual calculations of the sample are accure. I don't get how to derive them according to alpha and beta.

I have a sample of X,Y, and with those I need to estimate alpha and beta. []

(https://i.stack.imgur.com/iWcoJ.png)

thanx!!!

  • 2
    Welcome to SO, [please don't post images of code or data](https://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example). Can you provide your data using `dput(data)`? – jrcalabrese Dec 14 '22 at 20:50

0 Answers0