I would like to assess difference in survival of the "same" cohort classified by two different classifications of disease. Most of patients with the disease would be the same in compared groups, but some will be included or excluded due to the difference in classification criteria. Would standard log-rank test be appropriate? Is there a method that would account for shared patients?]]>

My question relates to health psychology study. I’m measuring self-assessed wellness at two timepoints (6 months apart). At the first timepoint, I’m also measuring some ‘personal factors' (6 self-assessment questionnaires, e.g what they think about their health). I’m looking to see whether these personal factors at time 1 predict their wellness at time 2. The data is questionnaire scores, all interval data.

Here’s my dilemma. I had planned to do a multiple regression analysis to see...

Finding a Plan B for my analysis]]>

My IV is scores from an right wing authoritarianism scale. Possible scores for a person range from 0 to 180. No decimals(Does it matter?).

My DV is where the person states s/he resides on a political spectrum ranging from -4(left) to +4(right). I guess I can code it as 1-9 or 0-8; or categorically as ultra left, very left, left, somewhat left, center, somewhat right, right, very right, ultra right.

The prediction will be that people who score...

RWA and political spectrum. Cont IV - Categorical DV]]>

What's your family type? Authoritarian, democratic, undefinable, inconsistent.

My DV is a score on scale. Continious type obviously.

Which test to use? My hypothesis is that participants who respond as authoritarian will have the highest DV scores.]]>

(Not sure if i posted this right here but I am new here)

So I am going to try and explain this as well as I can but if anything is unclear just let me know. So currently i am busy with research on personality using the Big Five Trait Inventory. The point of the research is to compare my own scores on the traits to the averagescore of the population on each of these traits. I am also to compare my own score to average of the scores given to me by four class members. For both...

Calculating Cohens d which mean to use?]]>

Box Cox Power Transformation versus Blom Transformation -IQ]]>

I also have three (affective, problems-solving and depressive...

Best way to Test hypotheses? Hierarchical Multiple Regression? Stepwise?]]>

I am new at this forum. I thank you all in advance for your kind help.

I ran a propensity score matching in order to evaluate a rehabilitation program.

We published this paper due to a siginificant finding that showed that the program is effective in reducing recidivism rates.

Now, I am writing a new paper and I am using the matches samples from the study. I am checking whether the interaction between ethnicity and program participation is significant in reducing recidivism...

Psm and cox regression]]>

Code:

`StoreCode ProductCode...`

pnorm() and qnorm() are functionally inverses, but this questions asks for an example where it shows they are not exact inverses. Ideas?]]>

log(log(1-F(t)))=-Beta(log(lambda))-Beta(log(t)) to get the starting values.

The only problem is that F(t) is greater than 1 which leads taking a log of a negative values (not possible.) Anyother suggestions on getting these starting values.]]>

I don't know what's wrong but I've been trying to compare the means of two independent groups using the independent t test in SPSS but I fail each time I try.

This is the message I get:

Warnings

The Independent Samples table is not produced.

a. t cannot be computed because at least one of the groups is empty. Also, it says a.t cannot be computed because the standard deviation of both groups are 0

Anyone help me solve this problem?]]>

I am pretty new into statistics and I did tests for autocorrelation in R (Durbin-Watson and Breusch-Godfrey).

As far as I have understood:

- the DW test should be between 1.5 and 2.5 (my results...

Interpreation of tests for autocorrelation]]>

The Harriet Hotel in downtown Boston has 100 rooms that rent for $150 per night. It costs the hotel $30 per room in variable costs (cleaning, bathroom items, etc.) each night a room is occupied. For each reservation accepted, there is a 5% chance that the guest will not arrive. If the hotel overbooks, it costs $200 to compensate guests whose reservations cannot be honored. How many reservations should the hotel accept if it wants to...

Binomial Theorem]]>

I'm a French psychology student. My research is about anxiety levels, self esteem levels and defense mechanisms in a population of young adolescents with conduct disorders.

I have 3 variables:

- Dependent variable: maturity of defense mechanisms, measured with the DSQ-40 scale wich gives me 3 means: one for the mature defenses, one for the nevrotic defenses and another one for the immature defenses

- Independent variable: anxiety level, measured with the STAI-Y scale

- Independent...

What test do I need to use in my research?]]>

1 parent 1 parent = 2 Parents

+ + = No

+ - = No

- + = No

- - = Yes

So you have a 1/4th (25%) chance of yes in 2 parents.

What is the chance of yes per parent?]]>

I'm currently in France for my Master degree of psychology. I work on a research about the question of the relationship between symptoms of conduct disorder and childhood depression through the representation of child attachment.

I have three variables:

-Dependent variable: depression rate for children measured with MDI-C test and CBCL (Child behavior Checklist)

-Independant variable : attachment type measured with the

what statistical test can i use for my research ?]]>

I'm attempting to write an R package based on some functions I wrote. I think I have everything down but I've ran into a road block I'm hoping you can help with.

I'm using R-Studio, R 3.4.4 and roxygen to do my bidding. I'm trying to run a check (--as-cran) and both of my functions (dsr.R, dsrr.R) return the same error:

Code:

```
==> devtools::check(args = c('--as-cran'))
Updating dsr documentation
Loading dsr
Warning: The existing 'NAMESPACE' file was not generated by roxygen2, and...
```

Apologies if a thread like this has been done previously, I couldn't find one.

I'm looking for a bit of feedback on a research project I'm designing. It is outside my usual scope, and I don't have current access to a statistician; thought I'd reach out here.

I apologize that I can't be completely forthcoming with details about the project; it involves PHI and a sensitive subject. I can answer questions to try and clear things up in terms of my description.

Converting Likert Scale to Binary and Correlating]]>

For my experiment, I ve wheat straw to feed dairy cows. Before feeding I need to process it in two way to improve its nutritional value. Firstly I need to sterilize it (I want to apply 4 methods to sterilization) and then addition of good bacteria (I want to inoculate the sterilized straw with 3 types of bacteria). So, in my understanding, my study has two factors; 1. sterilization method (with 4 levels) and 2) type of bacteria (with...

What statistical model to be used?]]>

I’m writing my thesis about the question: is ruminative thinking an independent risk factor for predicting marihuana use (controlled for sex and depression). In this study there are 300 participants of which 60 used marihuana. To investigate this relationship I wanted to do a multiple regression analyses. However, after analyzing the data I found that the following assumptions of the multiple regression are violated:

Linear relationship between (a) the dependent variable and each of...

Assumptions multiple regression violated]]>

select the Correct Weighting Factors for Linear and Quadratic Calibration Curves]]>

To illustrate the estimation of using GMM With EVIEWS 9. Guide Or Tutorial Generalised Method of Moments (GMM) For Time Siries EVIEWS 9]]>

dominance y [aw=weight], sortvar (x) rule both

but it says dominance command is unrecognised. after reading couple of forums i came to know that i have to download its ado file and then install the command. Despite multiple attempts, im unable to run this. Kindly help me with the following queries

1. how and from where to download ado file to run dominance command for stata 15

2. how to go about installing it.

Any prompt reply would...

Ado file for dominance command]]>

I have a problem where I want to prove that the data belonging to invidivuals of one group has a higher variance than the other.

The experiment involves a parameter of movement that changed in one group of organisms, but without a clear trend. The parameter remains stable in individuals belonging the control group, whereas it either fluctuated in the test group both up and down depending on the individual. I want to show that it changes, but it is hard to test as I am measuring the...

Comparing pooled variances?]]>

What are the pros and cons to using a permutation test looking at mean differences? Should I do this with medians instead? Also, what are alternatives beyond Wilcoxon-style tests?

Here is the...

Permutation test with skewed data]]>

But for this question, I believe we can just call this a logistic regression question. So I standardize all candidate variables entered into the model (e.g., 3 are continuous and the rest ~ 10 are...

Thought experiment (standardized binary variable)]]>

I am conducting a one-way ANCOVA with a fixed factor (group) and a continuous co-variate (height). I compared the estimated marginal means with the means for saved, predicted values, and I found that the sets of means are not equal. In http://www-01.ibm.com/support/docview.wss?uid=swg21477021, explains that this occurs because covariate-adjusted means for all groups are calculated using the grand mean value(s) of the covariate(s) . However, predicted values for individual...

Estimated Values after ANCOVA in SPSS]]>

I am currently working on my master's thesis where I have to conduct a meta-analysis on the issue of what determines the cost of debt capital for private firms.

For that purpose I have already collected a bunch of relevant papers which go for that research question under the use of a OLS regression.

Now the issue:

How can I convert the p-values, which go along with the estimated coefficients for the independent variables, to a z-score (which is required to apply...

Converting p-values to z-scores - Stouffer-Method for Metaanalysis (two-tailed regressions)]]>

I have a data set looking at only those who have died/been removed from a much larger group and have a lot of data about them (i.e. age, BMI, sex, 4 symptom types, distance from hospital, smoker/ex/never smoker- probably have around 80-90% of this data for the 120 or so in this group).

I do not have the data on those who went on to have curative treatment other than total number which is perhaps around 800...

No comparator group]]>

I have a model, which trades forex, and the model has a lot of parameters. I run the model with a lot of parameter combinations (test combinations), and try to choose the best ones, where the output is ordered by the profit or the percent of winning trades, or any other qualifier.

An example of the data:

(P is a parameter)

P1 P2 P3 Profit

5 9 true 596.5

6 8 true 590.2

5 8 true 583.6

2 67...

Method to choose the best predictor combinations??]]>

Let me introduce myself, my name is Loic and I'm french Phd student in biostatistics in Laval university in Quebec.

I'm very curious on all about in Statistics and Probability, I have degree in Statistics in economics.

I have many programming knowledges about Python and Julia. And other ones like Rust.

I love to learn many things and original way to solve problems.

Hope to help you soon.]]>

Time series analysis]]>

hence find the probability generating function

2. Let f (x)=((1-p)/2p)*p^|x| , x=-1,+1,-2,+2,......; 0 <p <1

Show that f (x) is a pdf.

find F (x)]]>

My test involves a sample of credit card customers that have defaulted, and I'm using a test vs. control treatment to see if my treatment shows any statistically significant improvement in...

AB Test with Proportions]]>

According to the World Health Organization (WHO), a child growth of age by weight should be like this :

http://www.who.int/childgrowth/standards/tab_wfa_boys_p_0_13.txt

you dont have to go into the link, here is a screenshot of that link:

if a child age is 0 weeks (just got birth!), and if his weight is for example 2.6 KG we know that he is in the percentile 5% ...

A quesion about Percentile]]>

To illustrate the estimation of dynamic panel data models using GMM With EVIEWS 9. Guide Or Tutorial Generalised Method of Moments (GMM) For Panel Data EVIEWS 9]]>

I am working on a replication of a research paper where I have to compile my own data to copy the regression done in the research paper.

I have never done a regression like this before and I am not sure about the data I chose - I would appreciate any help and input.

All the variables I need:

Need Help with Data for Regression]]>

I need a simple formula that will also take into account video publish date so that the influence on a particular video will have a decreasing participation in the scor as the time goes. I know I ask too much, I only need some reference to where I can dig more.

Thanks for any feedback]]>

I want to analyse the impact of turning a production line on and off (variable X, binary) on the environmental quality of wastewater being discharged; more specifically, the suspended solids content (variable Y, continuous). I have a set of daily data for a whole month, which shows if the production line was running or not, and the respective suspended solids content for those days. In other words, I have a data set similar to below:

15th January X=0 (line was not running)...

Which stats test to use?]]>

After computing the exponent (EXP(0.472199)-1), I get 0.6 – Does this mean that when the dummy variable has the value 1 it leads to:]]>

I just pledged to work my way through this book (Introduction to Statistical Learning by James, Witten, Hastie, Tibshirani). Anyone willing to join? Keeping the discipline would be more fun if we worked together.

regards]]>

My name's Max and I'm an environmental analyst working for various energy & manufacturing companies in the UK, as part of a graduate scheme.

Lots of my work involves statistical analysis so you'll definitely see me posting questions here from time to time!]]>

I have one binary variable that takes answers YES/NO and one continuous variable that takes numbers 0-100. I have to find if there is a difference in an average score(continuous) between 2 groups(binary). I cannot understand what bivariate statistical test I should use. Need help.

Thanks]]>

df0$new <- ifelse(df0$old=="yes",1,0)

In this code I am creating a new variable called "new" that is equal to 1 if the variable "old" is equal to yes or is otherwise equal to 0. But in the variable "old" I have missing data (represented as -99, -98, NAN). So how can I account for there being missing values?

The second question is about using an "OR" statement.

df0$z...

Creating variables in R- two issues]]>

Thanks]]>