In R, I want to calibrate my sample by the linear method, but I do not know how to use my weighted weights to recalculate my total :

design18=subset(design, HORAIRE=="18h") #the design of my sample

svytotal(~(NbVoix), design18) #estimation of my total without calibration

weightsLinear=calib(X, d=pond, popTotals, method="linear", description=TRUE)

svytotal(~(NbVoix*weightsLinear), design18) ???? => it's correct ?]]>

95% CI for rare incidence rate increasing in time.]]>

Any help is appreciated.]]>

I have no higher educational background in statistics or mathematics. I am almost embarrassed to come here ask for help, but it seems for me that either an elementary principle of inequality is wrong in a research paper or that I am lacking basic skills in Maths. I have tried to search online, but I could not find anything to address the issue.

I need to present an academic article, in which there is this table I am having trouble with. The problem is that the signs in the...

Chained inequality signs in opposite directions]]>

I am new to this forum and I wish someone can help me here. Would someone help me to identify the name of formula used below? Thanks!

Every quarter, we receive projection from other department and their projection are in quarterly basis, I have to convert the quarterly data into monthly data, and we use the formula below for conversion.

For example, if we want to get April 2018 (First month result), May 2018 (Second month result) and June 2018 (Third month result)monthly data...

What is this formula? Used to convert quarterly basis data to monthly basis]]>

Merge individual clustered bar charts as a single chart?]]>

I'm looking for any research papers in the Statistics literature or any information, in general, about comparing the performance of two different models when one of them imposes more severe restrictions on the data. Here is my specific case:

I am trying to predict the occurrence of financial fraud using two, distinct sets of regressors estimated via logistic regressions. 1s in my sample are cases of fraud, 0s are case of non-fraud. One regression requires 3 variables which are...

Comparing Models with Different Scope]]>

I am looking to use a Lambda distribution to model, Normal, Uniform and distributions which are a combination of the two. But I can't find any information about it. (I had hoped to also include Skewed data. )

From Wikipedia, I think it is possible to do what I want, but all other information goes way over my head. (I have A level maths, but it is a little rusty).

Can anyone help me understand this, or point me towards some where I can find out more?

Any help appreciated.

Gavin]]>

Can anyone help me, I am trying to use the Generalized Lambda distribution to model some parts in an assembly, but apart from Wikipedia entry I can find very little about it, and nothing that tells me how to use it.

I am trying to use it as a powerful software package we have uses it.

Any help or links would be appreciated.

Thank you

Gavin]]>

This is not a HW problem. For the purpose of trading stock options, I am trying to learn statistics on my own.

A stock is currently selling at $50 . The terms of a call option specify that the stock will raise to $70 in 18 weeks. That is, the stock is expected to increase about 2%/week.

(1) To assess the reasonableness of the 2%, I would perform a t test for testing a hypothesized mean. Am I right?

(2) If the t test shows that the average historical growth...

Testing a Hypothesized Mean for Trading Stock Options]]>

Broken Social Scene - Anthems For A Seventeen-Year-Old-Girl]]>

or look at the variance and only consider correlations greater than, say, 0.5

or use both: a p value of less than 5% and a correlation greater than 0.5?

p.s. I thought I'd posted this yesterday, but cannot see it.]]>

I am looking for the best statistical tests to use, to test for a relationship between peak rainfall intensity (mm/day) and river discharge (m3/s). I have 64 values of river discharge all paired with their corresponding rainfall intensities and are all dated. What are the best tests to carry out to check for relationships between the data?

Thanks in advance.]]>

I have the following problem:

y= intercept + y(-1)+ x1 factors + x2 factors which the literature models using dynamic panel models (since y depends on its lagged value)

where

y(-1) is the lagged y variable

x1 factors are firm specific

x2 factors are macroeconomic factor

I want to investigate the effects of y falling below a certain value on x1 variables. In other words assume that a benchmark=100 when y<100 I want to see how the firm reacts and changes its x1s.

How can i model...

How to model this problem?]]>

Sub-setting data in R using 2 data tables]]>

I have a dataset that has geographic data (county-level data of cancer incidence) which has a large variance. For each county, I have a list of county-level characteristics (socioeconomics, environmental, etc - e.g. obesity).

I want to understand the contribution of the county characteristics to the geographic variation in cancer incidence. What test should I use?

I was thinking of using linear regression, but many of these county-level characteristics are colinear (e.g...

Variance contribution testing]]>

I'm trying to use SPSS to perform a survival analysis. I am comparing two groups (Primary surgery versus 2-stage surgery) for recurrence after their surgery. There are some confounders (e.g. smoking / age etc). Do I just perform a cox-regression analysis and see what factors are significant? How can I adjust the Kaplain meier curve and the regression analysis to adjust for significant confounders?

Many thanks in advance.]]>

As an example, here is some made up data:

Code:

```
data DID;
input ID time group value;
cards;
1 1 1 1
2 1 1 2
3 1 1 1
4 1 1 3
5 1 1 2
6 1 2 5
7 1 2 4
8 1 2 6
9 1 2 4
10 1 2 6
1 2 1 5
2 2 1 4
3 2 1 5
4 2 1 6
5 2 1 5
6 2 2 6
7 2 2 6
8 2 2 7
9 2 2 5
10 2 2 6
;
run;
proc means data=DID mean;
class time group;
var value...
```

What is the proper way to compile the data into an overall ranking, and what is the proper way to report this on...

Ranking question]]>

I suspect that this means that multilevel models are more tolerant to differences in sample sizes than, say, ANOVAs. However, does any know _how_ tolerant they are? I've looked around, but can't find...

Guidelines on Unequal Sample Sizes in Multilevel Models]]>

I am pretty new around, and my statistical studies were taken more than 20 years ago, so my skills in the area are totally rusty.

Still, I recently I bumped into an interesting case which made me wonder if I can still revive something of the old glory.

Let's say we have an INITIAL value, to which 6 features (Feat1, Feat2, ....., Feat6) can sum up, giving a FINAL value.

These features have some other maximum 6 mini-features at their turn, (for ex Feat1 has 5: a1, a2, a3, a4 and a5)...

Multiple regression case?]]>

Still, I would like to try to refresh a bit my knowledge and, especially when I bump in some minor problems I can meet in real life, maybe even try to solve it with a bit of help. Hope you'll not be too tough with an old rookie! ]]>

So for my honours research project, I decided to answer the question of whether it is a good idea to invest in the tourism industry in south africa or not. I attached the excel file (which i had to convert to pdf so that it would upload, so if you could just covert it back to excel file once you download it).

So from this file i will be using all variables at actual figures and current prices, but i will only be considering the data for January of each year (2007-2017).

Please can i...

Which statistical test to use]]>

I have an age & sex matched-group of patients.

Control group and study group both had the same operations. Control group had no intraoperative fracture complication. Study group had intra-operative fracture complication. Study group also has two subgroups (two different surgical approaches).

All patients had preoperative and postoperative outcome measurement (out of 100 points).

Should i use Mc Nemar's for control - study group, and also subgroup comparison for clinical outcome...

Should i use McNemar's for a matched-pair study?]]>

A stock is selling at $50 now. Based on a 90-day linear regression (i.e., 90 historical periods), 80 days from today, the stock will be selling at $56. The standard error is 4. What is the 95% probability that the stock will be selling at least at $59? Using Excel, how is the 95% probability calculated?

Thank you!

Tony]]>

I am measuring the % population of dead cells on a time course (96 hours) post drug treatment (hour 0).

I measure the dead cell population every 24 hours giving me 5 data points.

I also measure the glucose concentration (starts at 12mM) at each time point.

If that is not enough data I also have the same experiment done again but starting at 50% glucose (starts at 6mM) and I have completed all the above on 6...

Dont know which statistical test I should use?]]>

Mixed Modeling for Longitudinal Data]]>

Anybody have a common experience?]]>

I would like to know what would be the best method to measure the relationship between variables like life expectancy and income over time (years)? In my case I have a time series with around 30 years. I would like to examine if there is a dependence between variables like life expectancy and income over time.

Thank you in advance and greetings from Germany!]]>

time series analysis]]>

I am trying to put togheter an R function to test if points in a given area tend to occur closer to any point belonging to another set of point, or if they are distributed irrepsective of the distance from the latter.

I would like to have some feedback on the method I applied, especially on the use of the binomial distribution.

With reference to the attached image, let's imagine we have some locations (crosses) and some other locations (red dots). For the sake of argument, let's...

testing the association between points and any of the points belonging to another set of point: am I approaching it correctly?]]>

I hope you can help me with the following question.

I measured the power input and output of a storage and retrieval vehicle with 1,000 single measuring points. I repeated the measurement five times with the same measure method and same time steps. The result is five measurement series with 1,000 measuring points. Now I calculated the standard deviation of the five values of every single measurement point. Is it now on statistical/mathematical aspects permitted to calculate the...

Average of standard deviation as repeat accuracy for five measurement series]]>

Is it correct to enter the total costs as the dependent variable (for all records in the database, independent of cohort assignment) and enter all independent variables (age, gender, premedication…) into the...

Generalized linear model for cost data in spss]]>

I coach a hockey team and we collect a lot of data on our performance. While I'm reasonably numerate, my statistics skills are limited to pretty basic things. So here's my problem.

We collect data each game which feeds into a process measure that provides insight into how our team played in a game (independent of the outcome of that game). I'd like to be able to look at that measure over time (i.e., as the season progresses), but looking at the raw measure would be useless...

Standardizing Performance (sports-related)]]>

The official manual for use states to convert raw scores into t-scores and then to use cut-off scores to see if participants are at high, normal, or low risk for three variables in measuring compassion fatigue. However, the manual also has cut-off scores for raw scores alone.

When analyzing the data, the levels of compassion fatigue for the raw data...

Using ProQOL Questionnaire for Project]]>

ARIMA]]>

(sorry, I know it is a simple question, but I have depleted my resources...!)]]>

In how many ways can 3 balls be drawn from a bag of 12 balls for 4 consecutive times without replacement?

My solution was 12C3+9C3+6C3+3C3, but his solution was 12!/(3!*3!*3!*3!). He didn't explain why my solution was wrong though. But I really feel that I'm correct on this one]]>

`library(GmAMisc)`

) and run a function, an error is returned:If I visualize the code, copy and paste it in the R console, and re-run the function, it runs as expected and no error is returned.

I am wondering what is...

function trows an error at first, but runs smoothly after being copy/pasted]]>

Participants will view sixteen everyday scenes. Each scene represents an experimental trial. In each trial, two almost identical images appear one after the other, with an intervening blank screen. The images and the blank screen appear for 0.25 seconds each, providing the experience of the screen.

Participants must view the images presented and try to detect whether any change has occurred...

Which test to use?]]>

Schools are divided equally into intervention and control group. We might expect...

Anonymous data within schools - how not to just use group mean over time - looking for references]]>

I have a dataset with 5 observations (5 years) nested within each case. I am not sure if a multilevel logistic regression can be ran using spss or mplus, and the syntax for running it if so.

Any advice on this will be appreciated.]]>

C-like:

`p.x <- round((factorial(n.of.points)/(factorial(x)*factorial(n.of.points-x)))*(p^x)*(q^(n.of.points-x)),5)`

making R computing large factorials]]>