-1
votes
0answers
14 views

calculating probability when given three possible outcomes [on hold]

let A denote the event that a student chosen at random fails accounting and B the event that they fail statistics. suppose P(A)=0.2 P(B)=0.15 P(B/A)=0.7.find the probability of failing statistics and ...
0
votes
0answers
9 views

Installing R & RStudio for Windows [on hold]

I've looked to make sure I'm not asking a duplicate question. So far it doesn't seem that I'm. I've just been put on a project that requires R programming. Though I've programmed a bit before (like ...
0
votes
0answers
6 views

Forecasting at Customer (Household) level

I am in the process of building a model in which i need to predict total deposit balance of customers in next 3 years. Data are available at customer level. For example, I have data for 0.1 million ...
0
votes
0answers
5 views

Multidimensional time series clustering

I have unemployment rates and interest rates per country over time. I want to cluster the countries that have similar dynamics and levels in both dimensions together. What could be a reasonable ...
0
votes
1answer
9 views

Why is the term “recall” used to represent the ratio of “true positives” to “actual positives”?

When the examples of our data set contain a very large number of one label (y=0) [e.g. the patient does NOT have cancer] and a comparably smaller number of the other label (y=1) [e.g. the patient has ...
0
votes
0answers
6 views

Use auxiliary range information to improve the accuracy of regression

I have built a model using GLS with reasonable success. The model has the form $E[Y]=g^{-1}(X\beta)$. However, I recently obtained some new data $Z$. For each observation $y_i$, there might be 0 or ...
0
votes
0answers
5 views

Rubric Interrater reliability study

I'm looking at the interrater reliability of a 6-criteria grading rubric used by an online college for graduate students. I have 10 mini-studies with all four professors grading the papers of 12 ...
2
votes
1answer
25 views

Regression - What to do with insignificant variables?

Please pardon me if you find this question very silly but this doubt has been troubling me for some time now whenever I want to run a regression. I am working on SAS. I have a dataset which has ...
0
votes
0answers
6 views

SAS Residual White Noise Test and validity of R^2 value

I have fit an auto-regressive model to a data series. The model seems to explain the given data relatively well given that the total R^2 is 0.95. However, SAS has a diagnostic plot called white noise ...
0
votes
0answers
6 views

Pixel level classification using deep network

I am new to deep learning and have already got my hands dirty with running deep network on MNIST and CIFAR datasets. Is there a way to directly use deep learning for semantic segmentation of image. ...
1
vote
0answers
10 views

Why does APA suggest to report the F statistic with an ANOVA result?

I probably view it too pragmatic but to me, the F statistic is merely a result of a calculation that is used to (magically) determine the value that I'm really interested in: the p. APA, though, wants ...
2
votes
0answers
9 views

Unequal Variances: Satterthwaite vs Welch

I'm currently working on a stats analysis that has a small study population, n=50. I've segmented the population into two groups and want to perform some ttests to compare differences between some of ...
0
votes
0answers
8 views

MICE: what does returned df mean?

In MICE, the object returned by pool() has a component, df, which is included in the summary of the pooled analysis. In my analysis I have about 55,000 cases, but the returned df is higher for most ...
0
votes
0answers
4 views

how to use SAS to shift cells (to get rid of empty cells) [on hold]

Hi I have some questions about data cleaning. A B C E F 1 2 1 2 4 3 1 6 2 But I don't want the empty cells and would like to shift the cells from left ...
0
votes
0answers
22 views

How to solve: A * x + y = B, when A and B are known [on hold]

What is the approach you would use to solve A * x + y = B when you have a list of A values and their associated B values? ...
0
votes
0answers
8 views

Characterizing clusters by separate feature vector scores

Say I have a medium amount of dependent variables in a study. These are scores from questionnaires that have been standardized so all are on a scale from 0 to 1. I have clusters of my patients - ...
1
vote
0answers
4 views

Can the error variance for a factor in CFA be > 1?

I am doing a CFA for 5 constructs, and all together having 23 items, and each construct having a minimum of 3 items each. The error variance of two items are 1.21 and 1.08. How can the error variance ...
-5
votes
2answers
30 views

Complete ditz on math needs help

If 663 million people don't have an item in the population of 7.3 billion, then 1 in how many people don't have it? What is the calculation I would use? How could I figure this problem for myself in ...
1
vote
1answer
16 views

Feature that is numeric if true, or single value if false

In regards to feature engineering for machine learning models. I would like to engineer a feature that encodes the following: value can be true and if so it will measure a numeric (maybe ...
0
votes
1answer
15 views

Survival Analysis/Frailty Model

I am trying to build a probability model for the following situation: I have a very large dataset, whose rows are users and columns are the features. All the users visit a particular store X (once ...
0
votes
0answers
8 views

Fitting data with interdependence

I have an issue, of which I'm not sure how can be solved. I'm trying to do so with Mathematica (and their stack exchange recommended I try here), but other solutions are also possible of course. ...
0
votes
1answer
18 views

sigmoid threshold for neural network

I've trained a NN for a few logical linear logical functions. I've used the sign(positive=1, negative=0) function to threshold the hypothesis. (That makes a Perceptron right?) Now I want to use the ...
0
votes
0answers
9 views

Calculating the formulas in a 2x2 contingency table? [on hold]

If I was given: The total sample size The overall proportion of the sample with the exposure (risk factor) The overall proportion of the sample with the disease (outcome)The odds ratio (=ad/bc) How ...
-1
votes
0answers
12 views

Recurrence or transience of countable state space markov chain [on hold]

Consider a discrete time Markov Chain with countable state space S={...,-1,0,1,...} and transition probabilities $p_{i,i+1}= p_{i,i-1},i \in$ S. Show that chain is recurrent if p=1/2 and transient if ...
0
votes
0answers
7 views

Checking for compatible conditional models

I am trying to implement MICE in R, using the package mice. I keep reading in papers that if the full conditionals we specify are compatible (they factor into a joint), then our inference is valid. ...
0
votes
0answers
7 views

Plotting error vs weights for neural networks

What is the better estimate of how well your NN is doing? Plotting how weights change with the number of iterations or Plotting how the error changes with the number of iterations ?!
3
votes
0answers
49 views

How many sides does a die have? Bayesian inference in JAGS

Problem I would like to do some inference on a system analogous to die with an unknown number of sides. The die is rolled several times, after which I would like to infer a probability distribution ...
0
votes
0answers
16 views

Under what circumstances will the log of a variable be normal, given that the variable is not normal [on hold]

Let us say there is a variable that is not normally distributed. Under what circumstances will the natural logarithm of the variable be normally distributed? I have seen many articles and papers ...
0
votes
0answers
15 views

How much memory do I need to filter through dictionaries in python of 5million? [on hold]

I am creating a program that has a lot of data. I am currently running it and its been 10 minutes and its still running probably about to stop it. Anyways, I am trying to make my computer faster at ...
0
votes
0answers
10 views

Optimization algorithm for dependent outcome variables

I'm in need of an (optimization) algorithm in R that can deal with dependent outcome variables. Let me give you a little example: Lets define some input variables x1, ... , xn and some categorical ...
0
votes
0answers
31 views

What are the key steps in solving Machine Learning Problem

I am trying to make a summary to myself, what are the key steps for solving a Machine Learning problem. I tried to read good books, talked with peer, discussed many issues here, checked many web based ...
0
votes
0answers
14 views

When is the scatter matrix in linear discriminant analysis singular?

In linear discriminant analysis (LDA), when there are fewer data instances than the number of dimensions (i.e., when the data matrix is of order $n \times m$ where $n$ is less than $m$), the ...
0
votes
0answers
3 views

Multilevel moderated mediation with multiple mediators in MPLUS

I'm trying to assess a 1-1-1-1 multilevel model with a cross-level interaction at path a. The moderator is the group mean of one of the level-1 predictors. I'm confused about how to model this and how ...
0
votes
0answers
6 views

Rank of Between Class Scatter Matrix in Linear Discriminant Analysis

In the derivation for Fisher's linear discriminant (the 2 class problem in particular), I notice that the between-class scatter matrix $S_B$ is said to have rank of at most 1. What is the significance ...
0
votes
1answer
7 views

Calculating p-value from beta and se_beta

I have a set of beta and se_beta values that I would like to calculate p-values for. I know this should be possible via a z-test, but I don't understand how it works and how to implement it. Any help ...
0
votes
0answers
10 views

Axes having different scales on a q q plot

I was trying to learn linear regression in SAS using this example When I came to the part about the q-q plot: ...
0
votes
0answers
12 views

3-way ANOVA to 2-way ANOVA

I have an experimental design with 3 factors of 2 levels each, which are temperature (a1 & a2), pH(b1 & b2) and food (c1 & c2), so I first ran a 3-way anova. Since in 2x2x2 experimental ...
1
vote
0answers
10 views

is it ok to check normality for individual groups seperated by within-subject variables in a mixed model rather than the entire dataset?

Wikipedia mentions that it is crucial to ensure normality for within-subject variables in a mixed model. I am interpreting this as I should check normality for my within-subject variables and not ...
0
votes
0answers
12 views

R - Same Density but different QQ-Plot?

I have data variable corresponding to quotation amount and I want to find which statistic law this variable follow if there is one. It seems that the ...
0
votes
1answer
6 views

Variance estimator of quadratic term of Cox PH model

I have a failure time data set. I want to fit Cox PH model with quadratic term like $h(t;x)=h_0(t)*exp(x\beta_0+x^2\beta_1)$ What will be the mathematical formula for variance of quadratic term? ...
0
votes
0answers
6 views

Determining if coordinates in a distribution are significant/goodness of fit

I have a non-normal set of data that has x and y coordinates (a non normal distribution). I'm trying to determine if I can include a few particular data points in my analysis or if I should exclude ...
0
votes
0answers
3 views

output of doParallel workers [migrated]

Suppose I have a code that does various calculations in a foreach loop, for simplicity let it be this: ...
1
vote
0answers
11 views

adjusting ties for kruskal.wallis [on hold]

I would like to perform a Kruskal-Wallis test on my data. I chose this test because my data is not normally distributed. As I have identical values in my data I tried to adjust the ties for ...
0
votes
0answers
7 views

Gaussian Process: How to use GPML toolbox for multi-dimensional input?

I am using MATLAB 2014_a student version I have 198 x 9 training data x (X1,X2,...,X9) and 198 x 1 target data y For now, I got linear equation among training data and target data ,for example, ...
0
votes
1answer
16 views

HMM with final or absorbing state

I am reading about HMMs and it's unclear to me if they are required to have a final state. In particular I have seen examples of HMMs that have an absorbing state and other examples with no final ...
1
vote
0answers
16 views

Subset based on maximum difference for one variable, minimum for others

This seems like it should be an easy problem to solve, but I can't think of anything nor can I find anything to help me. I'm working with multiple data sets where I have a series of sometimes ...
1
vote
1answer
21 views

Confusion about Cross-Validation for Hierarchical Bayesian Regression Models

I had two questions regarding model selection for a Hierarchical Bayesian (HB) Regression Model and the purpose of Cross-Validation. 1). I understand cross-validation as one way to perform model ...
4
votes
0answers
16 views

what are the assumptions of ridge regression and how to test them?

Consider the standard model for multiple regression $Y=X\beta+\varepsilon$ where: (1) X is $n\times p$ of rank p (non collinearity of predictors) (2) $\varepsilon \rightsquigarrow N(0, \sigma^2I_n)$ ...
1
vote
1answer
15 views

What test do I use comparing pre and post intervention data? [on hold]

I am doing a health related project at at hospital where a policy was implemented for patients on certain therapy. Data was collected for the number of patients and days of therapy pre-implementation, ...
0
votes
0answers
5 views

How can get F-measure, precision and re call and also Cluster labels in R [on hold]

I am new to R. I want to use hierarchical clustering of R to cluster following distance matrix. ...

15 30 50 per page