Hi guys,
I ran this loop:
foreach x in var1 var2 var3 var4 var5 var6 {
regress outcome `x'
}
I want to extract in a matrix (preferentially downloadable into excel file) all the p-values and coefficients from each variable of that loop.
How to do it?
Thanks Safa. Although, I have one doubt. This is the code they suggest:
matrix storeMyP = J(2, 1, .)
loc n = 0
foreach variableName of varlist b c { loc n = `n' + 1 reg a `variableName' matrix storeMyP[`n', 1] = r(p) }
matrix list storeMyP
Is this code fine enough? I am running this code, but does not work:
foreach x in glycine alanine {
loc n = `n' + 1
regress serine `x'
matrix storeMyP[`n', 1] = r(p)
Thanks for your help
We are preparing some experiments based on irradiating cells under different conditions in order to evaluate the effects in terms of DNA damage, genetic expression, etc. As our project is...
01 March 2021 3,355 3 View
I am using Ingenuity Pathway Analysis (IPA). But to interpret my results I need to easily find a reliable description of the different canonical pathways. Any recommendation? Regards
04 May 2018 7,784 0 View
Is the same glycogen consumption during exercise in different altitudes? eg. 1 hour running at 0masl vs 1200masl vs 3600 masl? So the CHO replacement wold be the same at three enviroments?
10 August 2017 5,286 3 View
07 August 2017 9,856 4 View
I use Cyaman Chm ELISA kits (https://www.caymanchem.com/app/template/Product.vm/catalog/582701). The testosterone kit has shown to be unreliable. The results have not been reproducible. A large...
12 January 2015 486 4 View
The DNA was extracted from spittle (saliva). The samples have very low concentrations (2-5ng/ul). I used DNA from blood as control positive but with the same concentration of the samples, and I...
11 April 2014 9,400 8 View
I love the comic style of some protein images in Protein Data Bank. It looks like a comic drawing (see attached image). I noticed that YASARA Model (but not YASARA View) is able to do this, but...
01 July 2012 4,890 12 View
How to manually calculate p value in ANOVA? what is the equation or formula for it?
03 March 2021 4,928 5 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 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
I have an input video, of skin (from a microscope that means it is magnified such that blood capillaries are visible). The idea is to extract 15 sec of continuous frames from a video of 1 min,...
02 March 2021 2,735 2 View
I need a procedure to extract the ciprofloxacin hydrochloride from aqueous solution by using dichloromethane in detail,. I thank you very much.
01 March 2021 4,306 1 View
I want to find a quorum sensing inhibitor from plant extracts. Klebsiella pneumoniae, Moraxella catarrhalis, Staphylococcus aureus, and Streptococcus pneumoniae. I looked for these strains...
01 March 2021 7,675 3 View
Pls share your thoughts
01 March 2021 7,330 4 View
To dear Researchers, I was analyzing a series of concentration for estimation of Real-Time PCR efficiency. The concentration was 1:10. I used MS-excel to evaluate Slope. The result of slope was -8...
01 March 2021 8,683 4 View
Let F be a field. Consider U, the set of n times n strictly upper triangular matrices in F. For X, Y in U, we call them similar if there exists some S, which is non-degenerate and upper...
01 March 2021 2,957 8 View
I am studying the potential of DCT and FFT coefficients extracted from a signal to classify the different objects that emit the signal. I applied the Shapiro-Wilk to confirm that data was not...
01 March 2021 8,079 2 View