Skip to content
Prev 388490 / 398503 Next

How to estimate the parameter for many variable?

Dear all,

Thank you very much for the feedback.

Sorry for the lack of information about this problem.

Here, I explain again.

I use this package to run my coding.

library(ismev)
library(mgcv)
library(nlme)

The purpose of this is I want to get the value of parameter estimation
using MLE by applying the GEV distribution.

x <- data.matrix(Ozone_weekly2)                      x refers to my data
that consists of 19 variables. I will attach the data together.
x
head(gev.fit)[1:4]
ti = matrix(ncol = 3, nrow = 888)
ti[,1] = seq(1, 888, 1)
ti[,2]=sin(2*pi*(ti[,1])/52)
ti[,3]=cos(2*pi*(ti[,1])/52)



*for(i in 1:nrow(x))  + { for(j in 1:ncol(x))
the problem in here, i don't no to create the coding. i target my
output will come out in matrix that     + {x[i,j] = 1}}
                   show the parameter estimation for 19 variable which have
19 row and 3 column*


*                                                              row -- refer
to variable (station)  ; column -- refer to parameter estimation for GEV
distribution*thank you.
On Thu, 8 Jul 2021 at 18:40, Rui Barradas <ruipbarradas at sapo.pt> wrote: