How?
The code bellow, illustrate the examination of a model:
fit = lm(y ~ x1 + x2, data=mydata2) # Your model
summary(fit) # The summary of the results
vcov(fit) # The covariance matrix for model parameters
Also, at the following link [1] you can find a full tutorial about Logistic Regression in R language.
[1] http://ww2.coastal.edu/kingw/statistics/R-tutorials/logistic.html
Dimitris
A slight edit to Dimitris' code, to make it a logistic regression, use:
fit = glm(y ~ x1 + x2 + xn, family='binomial', data=mydata)
As a new R user, I strongly recommend to use help commands like
> ?lm
> ?glm
?function_name give you information about the parameters and the objects that the program creates, including the covariance matrix...
you should use glm function and after estimation the model parameters, vcov function obtains covariance matrix of estimated parameters. This cod is an example for poisson response:
Poi
Seeking answer.........
08 September 2014 1,914 0 View
Which software (XL/SPSS/LISREL/STATISTICA/etc...) should I use?
01 February 2014 5,347 2 View
.
01 February 2014 4,440 1 View
Hiiiii everyone! I have an enquiry on statistical analysis. I was looking for many forum and it's still cannot solve my problem. I want to compare means of two groups of data but only with two...
03 March 2021 8,796 3 View
I am on the lookout for the Enhanced Yellow Fluorescent Protein (Aequorea victoria) DNA sequence. Does anyone know where I can find it? Thank you in advance
03 March 2021 3,568 1 View
Hi, I want to start testing pitfall trap to obtain ants samples, but I need to conduct molecular analysis on those insects. So, what kind of fluid can I use? Ethanol expires too early and I need...
03 March 2021 5,978 5 View
What's the best way to measure growth rates in House sparrow chicks from day 2 to day 10? Since, the growth curve from day 2 to 10 won't be like the "Logistic curve" it might not follow logistic...
03 March 2021 1,401 3 View
I have an experiment with 28 participants The independent variable is the times 1, 2, 5, and 10 used as the cross hairs during a task These 4 times were tested using 4 different blocks, each...
03 March 2021 9,692 2 View
I have conducted and published a systematic review and meta-analysis research with the topic related to public health and health pomotion (protocol was registed in PROSPERO). Now we want to...
03 March 2021 8,920 3 View
dear community, my model is based feature extraction from non stationary signals using discrete Wavelet Transform and then using statistical features then machine learning classifiers in order to...
03 March 2021 6,994 5 View
I just wanted to check if I need to run a linear regression separately if I am using PROCESS MACRO to run mediation analysis. Thank you.
02 March 2021 4,359 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
If the detection range is in ng/ml but the reference range is in ug/ml for a molecule or protein in serum or plasma .how to dilute and what is the initial volume to be taken for quantitative analysis
02 March 2021 7,670 3 View