В Mon, 29 Jul 2024 09:52:22 +0530
Christofer Bogaso пишет:
> LL = function(b0, b1)
help(optim) documents that the function to be optimised takes a single
argument, a vector containing the parameters. Here's how your LL
function can be adapted to this interface:
LL <- function(par) {
b0 <- par[
Hi,
I am trying to fit a GLM on below data. While R does provide direct
estimation, I wanted to go with manual calculation as below
dat = structure(list(PurchasedProb = c(0.37212389963679, 0.572853363351896,
0.908207789994776, 0.201681931037456, 0.898389684967697, 0.944675268605351,
0.66079779248
It sounds as though you have null hypothesis "x records independent
Bernoulli trials with the same (unknown) success probability p_x, y
records independent Bernoulli trials with the same (unknown) success
probability p_y, x and y are independent" and alternative hypothesis
"x and y succeed less oft
Às 05:23 de 28/07/2024, akshay kulkarni escreveu:
Dear members,
WHy is the following code returning NA instead of
the date?
as.Date("2022-01-02", origin = "1900-01-01", format = "%y%d%m")
[1] NA
Thanking you,
Yours sincerely,
AKSHAY M KULKARNI
[[alte
4 matches
Mail list logo