I have strange results of logistic regression:

The model is following:

dependent: success of treatment, 0 - No, 1 - Yes,

possible predictors: treatment, 1 or 2 (numeric) and sex with 2 different codes, first: (F=0, M=1), second: (F=1, M=0).

If I build regression with treatment alone, then coefficient for treatment is significant (p=0.03).

If I build regression with treatment and sex (both types of codes) without interaction, then coefficient for sex is not significant...

Strange results of logistic regression]]>

Which test is suitable?]]>

I need your help to make sure i chose the right test for my thesis.

I want to see if children produce "Subjet-Verb order sentences" more than "Verb-Subject order sentences".

So ill compare for the same 20 children the means of their two scores (%).

Is paired sample t test the right test to choose ? knowing i have a normal distribution ?

Thanks in advance for your help.]]>

Paired or Unpaired?]]>

Suppose you start using a spam-filter based on the discriminant model. In the sample almost 40% of the e-mails were tagged as spam. However, assume that the actual proportion in real life is 10%. Under these assumptions, what proportion of the incoming e-mails...

Discriminant analysis HW]]>

I got an odds ratio of 1.00 while the independent variable is statistically significant. How do I explain this?]]>

I would like to ask a simple question on the regression analysis result as I am still learning the regression analysis in progress while I need to study research paper at the same time. What are the numbers in brackets (e.g. (0.084)) in below picture and are the numbers above the bracket numbers coefficients? What are the interpretations of these numbers?

Thanks!

]]>

]]>

Please can someone help me?

I am trying to put together an estimate of the number of Sikhs who were insulted on grounds of their religion. I am using the Understanding Society dataset (a uk household panel).

I've created a table with religion and a binary variable for having been insulted or not across the side. The weights are shrinking the number of observations from 160 to 26. It it still safe to report the row percentages in this case?

Any help would be much appreciated. Thanks...

If my weights shrink the number of observations from 160 to 26, can I still report row percentages?]]>

The data consists of over 35.000 respondents, which all filled in a survey within a period of 3 years. So, I can see the trust over time per brand, where trust is asked with a Likert scale from 1 to 5. I also have variables of dramatic brand related events from different brands with 0...

Which model to use?]]>

Suppose that the error involved in making a certain measurement is a continuous random variable with

pdf () = { 0.09375(4 − 2 ), −2 ≤ ≤ 2 0, ℎ }

a. Sketch the graph of f(x)]]>

What is the best program to use to calculate cost effectiveness. Previously I used treeage when I did Markov analysis. It is very expensive and I want to be sure I choice the best program before I pay for a new treeage program.

Basic health economic evaluation, such as be able to add QALY to calculate ICER, QALY per year, number needed to treat and so on.

What do you recommend?

Best regards

Gunnar]]>

I am trying to remember back to undergrad stat class but can't seem to decide on a simple stats test to compare whether two species lists are different or not.

Please, if anyone can lend some assistance, I'd greatly appreciate it.

Please see an example of the data I am working with, attached.

Basically I want to compare whether the presence and absence of a number of species is sig. different between two sites.

Thanks,]]>

I have to analyse data from a transverse vs. non-transverse patterning learning experiment, structured in two parts. All participants have taken part in both parts, so it is only a within-participants study (1. part non-transverse patterning and then immediately 2. part transverse patterning). Each part was structured in 3 phases in which the participant had to identify the "correct" symbol in a presented pair (1. phase AB, 2. phase BC, 3. phase AC and 1. phase AB, 2. phase BC, 3. phase...

What kind of SPSS analyses for data from transverse patterning experiment]]>

"the assumptions underlying inferential statistical tests are rarely met, meaning that students are being

taught analyses that should only be used very rarely. Secondly, all of the most

common outputs of inferential statistical tests – p-values, standard errors and

confidence intervals – suffer from a similar logical problem that renders them at best

useless and at worst...

AGAINST INFERENTIAL STATISTICS]]>

This seems like ordinal categorical data. Can I just use the 5 choices on their own to compare across groups, like doing a chi squared analysis and regression models? Or should I be doing any sort of dummy coding or watching out for anything else?]]>

I am using a secondary data to test the Extended parallel process model(EPPM). Out of the 4 constucts of the model, no item has measured 1 construct (response efficacy). What options I have now to test the model on a behavior? I do have multiple items which have measured the other contructs of the model. Is there a way I can test this model to explain health behavior?

Thanks all in advance!...

Testing a theory/health model-help needed]]>

I have no idea how to report in a vector the commons variables from a data.frame or matrix.

I have a data many columns. In this example I show four columns with d1-d4 as names.

So, how do I create a vector with the common strings? Something as this:

It looks simple, but unfortunately I can't decipher it.

I can't decipher it.

Thanks for your time and interest.]]>

Please help <3]]>

I'm having trouble figuring out how to do this quickly and efficiently to get the Kappa statistic with some zero rows or columns. SAS notes some option about weighting with ZEROES but it seems I would need to basically reformat the data into the summarized counts of each possible...

Kappa for nonsquare tables]]>

I'm currently analysing (in the loosest possible sense!) a whole bunch of data. This is revolving around polypharmacy of drugs.

Part of this involving seeing how many times Drug A is present with Drug B. Only it doesn't stop at B, it may go how many times Drug A is present with Drug B+C and D or B+C but no D.

In my head I can see that on the left hand side I can show all the different Drug A's (for argument sake, around 10 different 'A')...

How Do I present Multiple Relationship of Multiple Items?]]>

I am trying to calculate a 90% Confidence Interval for a Poisson Distribution.

The Question is as below. Please let me know how is the first equation and second equation formed.

]]>

Each person draws a card from his deck and I would like to calculate the probability of the event that "the arithmetic mean of the number on the 4 cards is 405".

How to make that?

Some explanation is welcome.]]>

W = 0.98612, p-value = 0.3814

All documentation that i read, talk about p-value, but what is the meaning of the W (W = 0.98612 in this case)

Tanks in advance!]]>

I need to run a Repeated Measures ANOVA test using a given dataset but the dataset is a bit confusing and I can't find much correlation within the data.

An example of a Repeated MEASURES ANOVA test would be: 6 subjects had their fitness levels measured on three occasions: pre-intervention, after 3 months and post-intervention. This kind of data makes sense to me because we have one group of subjects and we measure changes in the mean score over 3 different time periods...

Repeated Measures ANOVA test]]>

I have 200 data points with positive and negative values, is there a way to determine the statistical likelihood of a result being a positive value?

Thanks]]>

I have a data-set of patients with different disease subtypes (Lung cancer subtype A-H).

So my two main variables are

- Ethnicity (12 levels)

- Disease type (8 levels)

I have performed a chi-square which turned out significant. However I dont know how to answer my following two questions:

1) Which disease subtype is most prevalent in each...

Chi-square post-hoc test - Helpless]]>

There are two primary issues in time series I deal with. One is autocorrelation (which influences on the standard error) and the other is assuming that lags of Y or an X influence Y (this would lead to bias not just problems with the SE I think).

One way to address first order autocorrelation (the most common type in social science analysis) is to specify an autoregressive model of order...

PROC AUTOREG]]>

https://otexts.org/fpp2/estimation-and-model-selection.html]]>

We distributed a survey with 3 Likert questions that we meant to combine to a scale and use as a 'continious' outcome in linear regression. The 3 questions asked a very similar thing and inter-item reliability was high. However, one of the question phrasings was reversed in the survey. We have very strong reasons to believe that a lot of the survey participants did not catch that and essentially we can't use this question. This leaves us with 2 Likert questions and now I am unsure...

Likert scores - how to deal with them?]]>

I wonder if anyone can advise me if there are methods (or even a concept) of dropping losers for futility in crossover trials For exampe if I have 4 treatments (A,B,C and D - and maybe all 24 possible sequences in my crossover) then if I did an interim that said "drop B" what would I do to patients...

"drop the loser" or futility in crossover trials]]>

New to the forum, just hoping for some assistance on the following:

Problem: Data from the last year shows a 5% relapse rate from a new treatment tested on a population of 10000 patients with a certain medical condition. When we study a more specific sub group of 500 patients (the under 25s) we see 0% relapse rate.

Question: what is the minimum size of the sub group with 0% relapse rate to confidently conclude that future patients with the same attributes as the sub group do not...

Min sample to confirm 0% success/fail from sub group]]>

I am struggling to understand this description of their results:

"The marginal posterior mean and HDI for Colombia is 0.092 [0.075, 0.105], that is, 1 standard deviation change in the searches for “Bitcoin” in...

Interpreting the result of a Bayesian Structural Times Series model]]>

Currently conducting some research on Private Equity funds and having some issues figuring out what to do/ what model to use given the little data that I have..

I previously had a specific research theme/question to adress but had to give up because of the said little data availability

Long story short I am now working the other way around and wondering what I can do with the data that I have!

The main information that I have is "per fund" and these are the main variables i...

Private Equity - model selection]]>

2 way ANOVA with big 5 data]]>

comparing the average of 2 groups when we

How do you calculate the

or just a simple average

I need to read multiple dta files and exporting the content of a variable

called "name". My idea is to aggregate to the right each "name" from each

dta file. I made a simple loop and I know It works reading the dta files.

However, It can't say the same exporting the data.

Here is what I wrote:

Code:

```
library(XLConnect)
options(java.parameters = "-Xmx4096m")
setwd("C://Users//Jce//a")
file = list.files(pattern="\\.dta$")
myFiles <- list.files(pattern = "\\.dta$")
ttt=length(file)...
```

For now, I did a Pearson correlation for the two times series and to compare the two I used the...

Comparison of two correlations]]>

Could anyone tell me what would be a suitable stats test to look at relationships between 4 continuous IVs and 1 continuous DV between 2 groups each of which has 2 levels i.e. male - female and internet users - non internet users?]]>

people who have manual labor jobs (n=18): average hours of sleep ranging between 6.7 and 8.2 with a median of 7.4

people who do not have manual labor jobs (n=12): average hours of sleep ranging between 4.7 and 6.9 with a median of 5.7

They want to see if there is a significant difference between the two groups and I need to give:

response and explantatory variable and type

appropriate null hypothesis

the...

What test should I do?]]>

I need help in understanding the regression result. The dependent variable is the travel distance difference within partners. The independent variable is age difference within partners. My question is how to interpret the association between age difference and travel distance difference.

travel distance difference is the distance difference between male and female partners (Male distance -Female distance)

The age difference is a dummy variable in three categories: 1. M older than...

Regression analysis - difference as dependent variable]]>

I am using PCA with PROC PRINCOMP to perform multivariate statistical process control and would like to build a PCA only on a certain set of individuals and let the others as supplementary.

Anyone knows how to do it?

I know this functionality exists with other software such as R.

Thanks in advance.

Cédric.]]>

I want to build a prediction model so I plan to use LASSO and elastic net (with glmnet). I was intending to split into 2/3 train, find the best shrinkage lambda (via CV in the training data) and predict on the remaining 1/3 (by c-statistic).

I was planning on say 50 test training...

developing and assessing a prediction Cox model using lasso]]>

I have read various authors come to totally different opinions on this topic. ]]>