john3
December 19, 2020, 11:00am
1
I have a txt file with numbers that looks like this - (with 100 numbers)

```
[1] 7.1652348 5.6665965 4.4757553 4.8497086 15.2276296 -0.5730937
[7] 4.9798067 2.7396933 5.1468304 10.1221489 9.0165661 65.7118194
[13] 5.5205704 6.3067488 8.6777177 5.2528503 3.5039562 4.2477401
[19] 11.4137624 -48.1722034 -0.3764006 5.7647536 -27.3533138 4.0968204
```

I need to estimate theta MLE parameter from this distrubution -

and I need to estimate theta from a sample of 1000 observations with replace, and save the sample.

How can I estimate theta like this? I have no information about normal distrubation

Take a look at this: FAQ: Homework Policy

I'll give you a hint - you need to calculate the MLE on paper first. You're given a distribution and will need to do a bit of calculus to find the MLE. Then plug in your numbers into what you end up with on paper in R.

john3
December 21, 2020, 4:51pm
3
Hi, thank's for your answer.

I have a somewhat related question here

I have this sample data -
> dput(my_vec)
c(7.16523478153752, 5.66659652818595, 4.47575534893755, 4.84970857977856,
15.2276296414708, -0.573093658844655, 4.97980673868322, 2.73969325233614,
5.14683035133365, 10.1221488713611, 9.01656611721311, 65.711819422978,
5.52057043354834, 6.30674880627702, 8.67771771267678, 5.2528503049587,
3.50395623925858, 4.24774012371174, 11.4137624410312, -48.1722033880239,
-0.376400642113356, 5.76475359419462, -27.353313803102, 4.09682042042852,
5.03373747558625, 3.8261660769812, 4.43580895525249, 4.22242932760446,
4.44905425775097, 4.98475525084258, 3.6416524979406, 3.81767927422987,
-93.2141354888589, 5.01103555428068, 5.38206564752185, 3.0296536606134,…

system
Closed
January 11, 2021, 4:51pm
4
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed. If you have a query related to it or one of the replies, start a new topic and refer back with a link.