R/summary.MClatent.R

Defines functions summary.MClatent

summary.MClatent<-function(object,...){ 
cat("Call:\n")
print(object$call)
cat("\nCoefficients:\n")

cat("\n Be - Parameters affecting the logit for the initial probabilities:\n")
print(round(object$Be,4))
if(is.null(object$seBe)==FALSE){
	cat("\n Standard errors for Be:\n")
	print(round(object$seBe,4))
	pvalueBe <- 2*pnorm(abs(object$Be/object$seBe),lower.tail=FALSE)
	cat("\n p-values for Be:\n")
	print(round(pvalueBe,3))
}

cat("\n Ga - Parameters affecting the logit for the transition probabilities:\n")
print(round(object$Ga,4))	
if(is.null(object$seGa)==FALSE){
	cat("\n Standard errors for Ga:\n")
	print(round(object$seGa,4))	
	pvalueGa <- 2*pnorm(abs(object$Ga/object$seGa),lower.tail=FALSE)
	cat("\n p-values for Ga:\n")
	print(round(pvalueGa,3))
}	

}

Try the LMest package in your browser

Any scripts or data that you put into this service are public.

LMest documentation built on Sept. 16, 2024, 1:07 a.m.