Any one use nlm function in r language for estimation of ML Estimates?
Yes!
Yes.
The r function nlm minimizes arbitrary functions written in r. So to maximize the likelihood, we hand nlm the negative of the log likelihood.
Yes, the nlm function is widely used throughout the statistical community for this purpose.
You can cut and paste the following simple example. #=comment line.
# 1 Maximum likelihood in R (nlm)
# Using functions &
# numerical optimisation & the finding hessian
# numerically etc
#
# Recall the hessian is the negative of the observed
# information
# we use the non-linear minimization function in R - nlm
# which lives in the library(stats)
# earlier we did library (stats) # load library
?nlm # look at help for nlm
# Example 1: random sample of 100 Xs ~ N(100, 9)
myx
Yes, i've used. But especial interest must be taken with over/underflow.
Also, try the maxLik function (from the maxLik package). This is specifically designed for likelihood maximization.
please help me regarding this. what should I do it nlm replaces the values with maximum positive?
Hi
See the code in the previous answer I sent.
Copy the code into R and run it.
In the function:
loglikenorm2
I have dataset which shows the length of power lines. I need to classify the lines based on the line length. Is there a rule to classify the High voltage (HV) and low voltage (LV) lines based on...
03 March 2021 4,116 4 View
I'm involved in a study of odor control technologies for municipal wastewater treatment plant. One of the control options involves a chemical 2-stage (acid/alkaline) packed bed scrubber. The...
03 March 2021 3,661 2 View
Actually, I am running cfd simulation for a heat exchanger which has two fluids one hot and other one is cold fluid. there is a solid domain between them, which I removed and instead I have used...
01 March 2021 9,537 2 View
I am simulating Heat Exchanger. I have tried and tested all the methods to resolve this issue from the internet like refining mesh, improving skewness and orthogonal quality ,extending outlet to...
01 March 2021 6,985 3 View
I have to amplify a gene and my primers just reached. The Tm for Forward primer is 64.2, and that of reverse primer is 65.5. Can some one suggest how to get the best annealing temperature? Thanks...
01 March 2021 360 7 View
Is DCFDA appropriate for measuring total ROS production, or can it only detect certain types of ROS? If I want to measure total ROS production, which dye should I use?
01 March 2021 9,447 3 View
Hello every body Does any one has any idea to help me choose a reasonable basis set for intermediate metal ions (i.e Fe2+, Mn2+, Cu2+ and exc.) interactions with guanine or other DNA organic...
01 March 2021 6,187 2 View
Should I mesh the solid domain ? or should I use wall thickness? or Shell conduction? for Heat Transfer between two fluids of a Heat Exchanger. what is recommended?
01 March 2021 9,785 3 View
I have a virtual machine. My host Pc specs are not that good thats why i went for virtual servers. so basically my host pc has 8gb of ram with nvidia quadro k2200 4Gb DDR5 GPU ,processor intel...
01 March 2021 8,415 1 View
01 March 2021 7,254 3 View
Good afternoon, I recently used OmniLog from BIOLOG for my experimentations : I tested the metabolism of different strains on 2 types of plates. I have 16 strains of 3 different groups...
02 March 2021 3,584 1 View
Which is suitable for use with Python? MySQL or SQL Server? What is your suggestion?
01 March 2021 3,422 3 View
In R-studio, there are many commands of Gumbel package. Arguments are also different. I`m asking about the alpha parameter of the Copula which must be greater than 1. If this is the one used to...
25 February 2021 5,229 3 View
I understand there are a lot of software programs that can simulate DED by going through specific modeling, simulation, and commands. For me, that was time consuming and results were not accurate....
24 February 2021 4,428 3 View
Hello everyone: I am looking for a simple software program to model chemical bonds. The purpose is to generate a high-quality graphical abstract for a top leading journal in the field of...
23 February 2021 8,012 3 View
I am looking for implementation of bayesian decision trees and bayesian regression trees in Python and/or R.. Do you know if the existing libraries support this
23 February 2021 6,689 3 View
To be specific, I want to conduct an IV regression in stata with the following three equations. EQ1: Y1 ~Y2 Y3 X EQ2: Y2 ~ Z1 EQ3: Y3 ~ Z2 Both Y2 and Y3 are endogenous. However, Z1 and Z2 are...
23 February 2021 6,266 3 View
My real system (buck converter) can only take an input of 0 to 1 (duty ratio) and I need to constrain the system so the controller action keeps within this bounds. How can I do this? The code for...
22 February 2021 2,125 3 View
Hi everyone. I am researching droguht effects on soil water drought. I am looking for already implemented functions in R or Python to estimate soil water content from precipitation,...
21 February 2021 2,084 1 View
I have a basic knowledge on Python, R and MATLAB in analysing data. Among those, which is the best and user friendly? Which one should I learn deeply to analyse data?N:B: I want to learn data...
20 February 2021 3,950 15 View