instruction stringlengths 9 38.7k |
|---|
For example I have this set of grouped data
Class: 1-5 | 5-10 | 10-15 | 15-20
Frequency: 2 | 3 | 3 | 2
Since n = 2 + 3 + 3 + 2 = 10 which is even
Then the median should be the average of the 5th and 6th values. However, the 5th and 6th values lie in different classes. Where would the median lie?
How ... |
Recently I have learned about Generative Adversarial Networks.
For training the Generator, I am somehow confused how it learns. Here is an implemenation of GANs:
`# train generator
z = Variable(xp.random.uniform(-1, 1, (batchsize, nz), dtype=np.float32))
x = gen(z)
yl = dis(x)
L_gen... |
I have been searching online for an appropriate way to analyse data obtained using a 4x4 latin-square design (and more specifically how to do this in R).
I have some sources online that say the data should be analysed using a repeated measures ANOVA. I have tried this, but want to make sure that I have entered the err... |
After running a Regression Analysis in IBM SPSS, the output shows sig (1-tailed) instead of sig (2-tailed).
1) How do we obtain sig (2-tailed) output in a Regression Analysis using IBM SPSS?
2) How do we interpret the Pearson Correlation R output for a sig (1-tailed)?
Thanks
|
How would I go about generating data with the same pearson's correlation, But different dependence structure as can be seen above. Basically I want to show short coming of linear correlation as a descriptive measure of dependence.
Many Thanks
|
I am conducting a regression analysis in which there is not a linear relationship between my predictor (X) and outcome variable (Y). My data looks roughly like the image below.
What I'm wondering is how I might decide between two options to alleviate this issue. On one hand, I've read that log-transforming the predict... |
I am implementing an Elo ranking system for fun and came across an example on Wikipedia that I can't follow:
Suppose Player A has a rating of 1613, and plays in a five-round tournament. He or she loses to a player rated 1609, draws with a player rated 1477, defeats a player rated 1388, defeats a player rated 1586, and... |
Recently, I read a UK Supreme Court judgment Montgomery (2015), a judicial decision advocating patient's dignity and safety.
The Court held that no matter how small the percentage of a certain risk of harm/damage relating to certain clinical procedure (e.g. the risk of brachial plexus injury in case of shoulder dystoci... |
I am using the R package fGARCH to analyze stock market volatility. In order to test the goodness of fit I compare the AIC values of different model specifications. One thing I noticed is that the AIC that I calculate manually via the formula $\text{AIC} = 2k - 2\ln(L)$ where $L$ is the Likelihood value, does not equal... |
I understand what SVM is but I have come across people saying Support Vector Regressions (SVR) and I do not know what is the difference between SVM and SVR.
Can someone point out the mathematical differences between the two ? When do we use one over the other ?
Also, is there any resources with mathematical derivation... |
I am working on a LASSO project these days. I need to perform cross-validation when I select $\lambda$
normally when I have the model $f$, I can calculate the mean-square-error of the testing samples and use this as a benchmark to select $\lambda$
I am wondering if there is any (better) other ways to score the model ... |
A helpful hint would be appreciated because I cannot seem to figure out how to calculate the expected value
A lot contains 17 items, each of which is subject to inspection by two quality assurance engineers. Each engineer randomly and independently selects 4 items from the lot. Determine the expected number of items se... |
I'm trying to estimate the probability density function of a real random variable given its iid realizations. What are some of the standard techniques to do this?
One method I have heard of is the kernel density estimation (KDE). When compared to the method of histogram, the KDE is basically assuming that the density c... |
Note I am considering the standard $t$ distribution $(\mu=0,\sigma=1)$
The method of moments for $\nu>2$ is derived in this question
My question is, if the true (population) value of $\nu$ is $2$, and we don't know this, then what is the MOM estimator estimating?
My confusion is that in this case the MOM estimator uses... |
I am trying to experiment with dropout in 2 layer NN on notMNIST dataset using TensorFlow (assignment 3 in Google Deep Learning Course on Udacity). But adding dropout causes fall in test accuracy and overfitting.
Here is graph description:
image_size = 28
num_labels = 10
batch_size = 128
hidden_units = 1024
graph = tf... |
What are the differences between a convolutional neural network and a recurrent neural network?
When should I apply which of the two models?
|
As a beginner in probability and statistics I have been confused by usage of the word "sample."
For example in my book on probability we define a sample space $S$, and then we say that $s ∈ S$. I had been reading this as "s is a sample in the sample space S," although technically my book has only said that "s is a pos... |
I have this dataset with 50 variables for which I assume a latent structure, so I want to run a confirmatory factor analysis.
My sample size is 370 but each of the participants was randomly assigned 36 out of the 50 variables. In average there are about 250 respondents for each variable, but it differs a little. Now I... |
What is the best practice to calculate confidence intervals for Categorical Data with multiple responses? All of the tutorials and information I find online use boolean examples.. (Do you support this candidate, yes or no? Do you like this product, yes or no?)
I would like to know how to deal with a question such as: ... |
I am completing a series of questions for this problem and I think I am following but one throws me off.
The problem is a common one:
In a study of smokers who tried to quit smoking with nicotine patch therapy 39 were smoking one year after the treatment and 32 were not smoking one year after the treatment. We want to ... |
I have a discrete stochastic process $X(t)$ which I believe is a Poisson process, that is the value of $X(t)$ at time $t$ is a Poisson random variable with parameter $\lambda t$ and disjoint intervals are assumed to be independent.
Due to the nature of the data I only have values of $X(t)$ at discrete and fixed times $... |
I do not know any advanced statistics; I only took a intro to probability. So please bare with me. If my question violates anything I will delete it right away.
I want to know how the conventional Ridge regression is statistically interpreted, especially in the following artificial setting.
Assume $x$ is a random varia... |
I am looking for a way to coherently display data of the following format:
Name - Height - Weight - Result (their athletic performance)
where Name can safely be considered a unique ID, and the 3 values are simplified by using previously assigned groups, i.e., they are always numbers between 0 and 3. The original values... |
Suppose $X$ and $Y$ are independent random variables with prior distributions $p_X(x)$ and $p_Y(y)$. Suppose now that we have data $D$ that are characterized by $X,Y$ and that after observing the data, we have a posterior distribution:
$$
p(X,Y|D)
$$
Why is it that two independent priors do not result in a posterior di... |
I've noticed that ATM machines have become very good at reading handwriting on checks. I would like to write a program (using some appropriate machine learning or computer vision library) that is able to extract the following handwritten information from checks:
Check amount
Name (from the signature)
Date
Who the che... |
I have been wracking my brain for several weeks now, trying to figure out the best way to model the following type of data:
I am helping to set up a clinical trial. We are testing a new type of sealant for sealing wounds after lung surgery, and comparing it to an existing sealant on the market. Since this is a lung sur... |
Suppose I have two binomial random variables $X_1$ and $X_2$ and I want to estimate the probability of successes $p_1$ and $p_2$ so that I can determine if $p_1 > p_2$ along with the effect size, which in this context is $p_2$ - $p_1$.
I collect some samples and construct confidence intervals ($l_1$, $u_1$) and ($l_2$,... |
My question is about economic significance of dummy variable in regression analysis.
To me, it is not intuitive to calculate percentage change relative to standard deviation(as usual for continuous variable) of dummy variable as economic significance because it is binary.
I personally think that it is best to interpret... |
I am having difficulty in understanding the cost function equation for neural nets described in andrew ng's coursera class. The equation is as follows :-
I am having difficulty in interpreting the regularization term. What does the 3 summations signify. I hope someone can break up the problem and help me understand t... |
I am performing OLS multiple regression. A few independent variables I am testing are trend stationary. They become stationary around a deterministic trend. For this reason, I added a time trend to my regression model. However, now the independent variables are highly correlated with the time trend i.e. there is eviden... |
I have 2 independent variables X and Y which are both normal with means $\theta$x and $\theta$y respectively and variance=1. I need to find the most powerful test of size $\alpha$=0.10 for the following hypotheses:
Ho: ($\theta$x, $\theta$y)=(0,0)
H1: ($\theta$x, $\theta$y)=(1,0)
My approach is as follows. First, I use... |
I am looking over a paper currently and am stuck on a particular step seeing how the intuition works. I know this is quite elementary but it is known:
$$P(ab|c)=P(a|c)P(b|c)$$
This being said I am confused how
$${P(a|c,d)\over{P(b|c,d)}}={P(c|a,d)\over{P(c|b,d)}}{P(a|d)\over{P(b|d)}}$$
If possible I would like to see t... |
At the end of this answer it is mentioned that
Note: the above result of course holds also for normally distributed samples -but in this last case we have also available a finite-sample chi-square distributional result.
What is this result? If possible, can someone provide an illustration (or a link/reference to an i... |
I was wondering if we can use Ridge and Robust regressions when the dependent variable is categorical.
|
I have an over-dispersed count dataset and I want to add an offset to my negative binomial on the RHS to create a rate of events for y (see this great answer for further explanation). Next, I want to create a predicted plot of my results.
However, after following examples from smarter folks than myself, I get strange ... |
Suppose we have that $f(p|\alpha, \beta)$ is a distribution of a random variable $P$ with hyperparameters $\alpha,\beta$, and that $f(q|\gamma, \delta)$ is a distribution of a random variable $Q$ with hyperparameters $\gamma, \delta$. Assume that $P$ and $Q$ are independent.
In this case, how do we explicitly show that... |
We are given statistical sample of $X=(X_1,X_2,X_3)$, where $X_i\sim\Gamma(\alpha_i,1)$ and independent. Let $Z=X_1+X_2+X_3$ and $T$ three dimensional statistic $T:=(\frac{X_1}{Z},\frac{X_2}{Z},\frac{X_3}{Z})$.
We are asked to check are $T$ and $Z$ independent.
Hint: Find joint density function of $T$.
So far, I manag... |
My employer is currently running a company wide survey about attitudes towards the office i.e. Sentiment. In the past, they opened the survey to all areas of the business (Let's assume 10 very different departments) and all employees within them (Assume 1000 employees in total in the entire company) The amount of emplo... |
My data is subdivided into 3 groups each of size 10, g1 (grandparents), g2 (parents), and g3 (grandchildren).
I am trying to understand the variance in level of subjective well-being (independent variable having 11 domains) experienced by all three generations, as predicted by intergenerational solidarity (dependent v... |
I have a panel data of 200 individuals around 100 weeks. A latent ability issue for individual may cause the estimation for one IV biased. This IV is continuous variable.
Except for panel fixed-effect model, I also try to use propensity score matching (PSM) to handle this endogeneity issue. My first question is, is PSM... |
I have a set of response variables (uptake of product A-C) such as
uptake_a uptake_b uptake_c
1 0 1
0 1 0
0 0 0
I would like to recommend product A, B or C based on a set of explanatory variables. To achieve this, I was going to build a logistic regression for each one of the ... |
I am trying to build a sequence to sequence model using tensorflow. Tensorflow provides some functions for learning embeddings for words - tf.nn.embedding_lookup and tf.contrib.rnn.EmbeddingWrapper can help with that. The question is, will learning an embedding matrix for the vocabulary be any different than adding an ... |
for my thesis, I'm having difficulties on how to analyze my hypothesis. In a nutshell:
DV: evaluation of colonial history
IV: article (positive or negative description of colonial past) that participants have to read
moderator: ideology (on a continuous scale)
I'm suspecting a different result depending on whether the ... |
I would like to apologize first if my question is not appropriate for the StackExchange.
I have data on households' expenditure, socio-economic characteristics, features of dwellings they are living at and a variable which reports duration of stay at current dwelling in integers (0 and more than 0).
I thought of Coun... |
I have a dataset including several yearly time series of different sites. I have built multivariate random forest model in a leave-one-site out cross validation model using the caret package in R.
The model is doing well in predicting my dependent variable, however I am afraid that there is some temporal auto-correlat... |
I have variables a1 and a2 with 57 observations each, and variables b1 and b2 with 29 observations each.
I compare a1 with a2 by means of a paired-samples t-test, this gives p<0.001. Next, I compare b1 with b2 by means of a paired-samples t-test, this gives p>0.05 (actually p>0.10).
I compared the p-values, and conclud... |
I'm performing speech intelligibility tests in a cross-over design study. In effect, a paired t-test, or repeated-measures ANOVA analysis is the way to go here, because every subject serves as their own control. Basically, we test every subject in a control condition (C) and in a condition where we have tempered with t... |
I was wondering if there is a test for binary data similar to two-way ANOVA. Basically, I have 50 images analyzed by 3 persons using 2 different methods and thus I obtained 6 samples of paired/dependent binary measurements. What test I can use to compare the variation between these?
Thanks
|
I'm following two timeseries: one is a setpoint, the other is the controlled output. When the setpoint rises I want the controlled output to follow quickly; when the setpoint drops, it's acceptable to have the output drop more slowly.
Is there a metric that can quantify this behaviour? Some kind of "positive cross-corr... |
Is it reasonable? The categorical features can be binary ("true" or "false") or strings, which are one-hot encoded. Some continuous features may be integers, which are treated as real values. If an autoencoder is an appropriate approach for such mixed data, what would be a reasonable loss function? Any other suggestion... |
I am aware it is common practice to standardize the features for ridge and lasso regression, however, would it ever be more practical to normalize the features on a (0,1) scale as an alternative to z-score standardization for these regression methods?
|
I try to use a GoF measure called MAPE mean absolute percentage error, I know there are some related answers that a$model[[1]]-a$residuals is the best way in the the plm package.
The problem is I use first differences and lagged variables, length(a$model[[1]]) is 3327 and length(a$residuals) is 2845.
Any ideas how I co... |
I have fish gene expression data from various contaminated and reference sites. We measured the expression of 4 thyroid hormones in each fish at 5 sites. Site 1 had the fewest fish of only 6. The site with the most fish has data for 20 fish.
I'm wondering how to compare the 4 hormones across 5 sites that have unequal s... |
I'm training a neural network to classify the MNIST digits. For this, I am using this mnist library which states:
It includes 10000 different samples of mnist digits.
And:
Both sets [training and validation] are shuffled, and there are no samples repeated in both sets.
So, what I'm doing is create a 8000 samples tr... |
My question is to do with
1) how to identify the best kernel function to use (for instance Epanechnikov, Gaussian, triangle etc) for earnings on formal and informal sector using Stata
2) how do I work out the bandwidth which would bring out the best estimation.
|
Background
I am fitting a dataset of 1500 observations and 375 features (after one hot encoding of categorical features) dealing with prediction of house prices. I am using a gradient boosting model (GBM) using the GradientBoostedRegressor in the sklearn library. I've kept 20% of dataset as holdout set for obtaining a ... |
I´ve read this fantastic book The elements of statistical learning
and I have a question about the lasso equation for the Lasso problem in its Lagrangian form:
$\hat{\beta}_{lasso} = argmin \{ \frac{1}{2} \sum_{i=1}^{N}(y_i -\beta_0 -\sum_{j=1}^{p} x_{ij}\beta_{j})^2 + \lambda \sum_{j=1}^{p} |\beta_j| \}$
I don´t know... |
I am trying to implement transfer learning to make predictions on test set using a model trained on another dataset collected from a different sample.
For this, I need to identify the subset of training data that has a similar distribution with the test data.
I wonder if there are any methods to achieve this in sklearn... |
In theory, feed forward neural network should be able to approximate any smooth functions given enough nodes in the hidden layer. In other words, it could significantly overfit the training data set. I was expecting feed forward NNets to fit the training set with a sign accuracy close to 100% without any penalization, ... |
I have time series data and want to perform multiple regression. I have three time series independent variables that i want to include in the regression model. Before doing any analysis do I need to remove the trend from all data sets ( dependent and independent variables)?
|
I have the continuous variable Y and the predictors Pct_less10, Pct_10to20, and Pct_21plus.
NOTE: The predictors are basically percentage of people under age category and they add up to 1. So my observation level is Y at the monthly level, and I have covariates as Percentage of people less than 10 years old, percentage... |
How can we interpret differences between t test p values and randomization-inference p values?
Let’s say we have a randomized experiment with a binary treatment, denoted $Z_i = 1$ if unit $i$ is assigned to treatment, and outcomes, denoted $Y_i$.
We want test for a treatment effect.
We test both the sharp null hypot... |
my experiment is a cross-over randomized trial with 2 conditions (A-B), and repeated measures at baseline and 5 follow-up measurements (time).
I hypothesized that 2 physical drills (A-B) would induce different fatigue magnitude. Data were not normally distributed.
I've treated my data as independent groups (group perfo... |
I am interested in finding the difference of entropy between two states of the same variable. The probability distribution associated with the variable X changes at each discrete point in time t by an increment in p(i). The current state is therefore always an update of the former state as we advance each step along th... |
I have run bivariate analysis predicting cholesterol and iron from gender and age. The coefficient of gender is $-0.57$ (male=1, female=0) and the coefficient of age is $0.5$. Now I am wondering how one can interpret these coefficients?
|
Could someone please explain to me why you need to normalize data when using K nearest neighbors.
I've tried to look this up, but I still can't seem to understand it.
I found the following link:
https://discuss.analyticsvidhya.com/t/why-it-is-necessary-to-normalize-in-knn/2715
But in this explanation, I don't understa... |
I'm performing regressions on the relationship between macroeconomic factors and firm survival across industries. I have the real GDP growth rates for each industry and the PRIME rate for the entire United states. This has given me the fixed effects equation:
$$
SURVIVAL_i,_t = \alpha_i + \beta_1rgdp_i,_t + \beta_2prim... |
Suppose we have a function,
$$ F = F(x_1, x_2, ... , x_N) , $$
then one can try to model it with one of the many available techniques, for example, via linear regression:
$$ F = \sum_{i=1} ^N c_i x_i $$
But linear regression, as well as any other technique I am aware of assumes that the variables are independent of ea... |
I want to solve $$ \min \:\: \vert \vert x \vert \vert_1 \:\:\:\: s.t. \:\: Ax=y $$
using a Neural Network or Recurrent Neural Network.
I found only this paper, but there $x$ has to be greater or equal zero.
Do you know any other good papers, tutorials or other projects about how to solve this problem using a network?
|
I am recently working on LASSO for my commercial car usage data. A problem I am facing now is that, I have around 200 factors, 100000 samples. However, quite a few of the factors are very sparse: only 1000-5000 has a value (all the rest are zero) among all these 100000 samples.
I am wondering if there is a good way to ... |
I recently started competing at kaggle which exposed me with hyper parameter tuning of models such as GBM,xgboost etc.All the sources that I studied to get started with an approach to tuning invariably started with the line " Hyper parameter tuning is more of an art."
Most of the texts used Gridsearchcv or randomizedse... |
Actually I'm not sure if the post's title is the right one but if moderators have another one in mind then they should try to change it.
Anyway. In our subject now. I'm not the super-data analyst and thus i will try to describe as better as I can the whole concept.
So. Let's assume that there is an experimental process... |
I have to combine two percentages from different categories, which are questions answered / total questions:
2/10 * 100 = 20%
3/6 * 100 = 50%
I combined both percentages ((20+50)/2)*100 = 35%
But if I combine all questions and total questions which is 5/16 and the total percentage of the combing values is 31.2%.
Wh... |
I have hourly summer cooling data for 4 months starting May 2016 to August 2016. In my data the cooling is high on standard business hours range from 08:00 to 21:00 during weekdays and is low in non-business hours and weekends.
I have some predictor variables that also time dependent, which I used them as xreg in aut... |
I have a piece of code that takes a noisy data set and uses some sort of statistical filter to plot a trend line over the noisy data. The original author of the code no longer works at my job, so I can't ask him what the filter is. I've included a snippet from the code; does any of this look familiar to anyone? The scr... |
Suppose we have a Bayesian DAG with the following structure:
\begin{array}{c} \alpha & & \beta & & \gamma & & \delta\\ & \searrow & \downarrow && \downarrow &\swarrow \\ && p && q\\ && \searrow && \swarrow\\ &&& x\end{array}
where $\alpha, \beta, \gamma, \delta$ are hyper-parameters. I am wondering how to formally prov... |
I have a panel data set with a count variable as my dependent variable. Consequently, I am now trying to identify whether I need to use a Poisson or negative binomial regression model and whether to use fixed effects or random effects. Based on my (unfortunately still limited) understanding, the countfit model seems to... |
Is county-level aggregation sufficient to anonymize the data such as that found in the US Census or GSS?
|
Let $p_{\lambda}(\cdot)$ be the SCAD penalty. It is well known that the solution $\hat{\theta}$ to the optimization problem
$$ \min_{\theta} \Big\{ \frac 1 2 (z - \theta)^2 + p_{\lambda}(|\theta|) \Big\}$$
is given by
$$\hat{\theta} = \begin{cases}
S(z, \lambda), & |z| \leq 2 \lambda \\
\frac{a-1}{a-2} S \lef... |
This question is the same one I want answered:
https://stackoverflow.com/questions/26810092/how-to-find-the-smallest-ellipse-covering-a-given-fraction-of-a-set-of-points-in
Except I need to either get the algorithm as plain old math, or possibly MATLAB without any special toolboxes. The above question was answered usi... |
Suppose that we have
k classes, $C_1$,...$C_k$.
A classifier with precision $p_i$ and recall $c_i$, for $i=1 \dots k$.
A sample S, such that the classifier assigns $s_i$ elements of S to class $C_i$ fo $i=1 \dots k$.
I'm not interested in which particular elements correspond to each class, but in the true number of e... |
I am trying to understand the Yolo v2 loss function:
\begin{align}
&\lambda_{coord} \sum_{i=0}^{S^2}\sum_{j=0}^B \mathbb{1}_{ij}^{obj}[(x_i-\hat{x}_i)^2 + (y_i-\hat{y}_i)^2 ] \\&+ \lambda_{coord} \sum_{i=0}^{S^2}\sum_{j=0}^B \mathbb{1}_{ij}^{obj}[(\sqrt{w_i}-\sqrt{\hat{w}_i})^2 +(\sqrt{h_i}-\sqrt{\hat{h}_i})^2 ]\\
&+ \... |
I want to build a mixed-effects model with multiple nest structure in R. For example, month nested in year, day nested in year and year. Response variable Y is temperature and predictor variable X is time. The following SAS code can give me exactly what I need.
proc mixed data=dataset;
class year month day;
model Y=X... |
I am coding in R, and I would like to verify that my multinomial logistic regression model is not overfit and to assess the performance of my model. The data that I am using is categorical and has many different variables (ie, age, cell count), but I selected only the ones I felt would be most relevant to the model.
I ... |
I have been given a survey to analyse. There are 50 questions, and about 400 respondents.
I have calculated Cronbach alpha for the entire thing, and I get about 0.9.
When I do factor analysis, I do not get nice results. I need about 17 factors, according to it.
My question is: How is this possible? I would have thought... |
I have a series of daily data (sales) where values are low:
[0,1,..., 25 ]
These are periodic data but it has strong daily variations:
10 -> 0
0 -> 6
...
When applying a prediction model and calculate the % (MAPE),
I get obviously very high error.
My question is : Is there any method to remove the "divide ze... |
This is a real world scenario. We have some machines and these machines need some components. Someone came up with a method to select really good components for machines. The idea is that machines that use these "good" components have a lower number of failures. Now to measure the performance of this allocator, we flip... |
Still very new to R and have only enough statistical knowledge to be dangerous. But I'm stuck as to whether the following is acheiving what I need it to do.
Project is a flight risk prediction using imbalanced population data of 2,227 Leavers and 14,504 Stayers. I want to reserve a balanced set as my test set and set u... |
I am evaluating two time series. One has a larger Coefficient of Variation (CV) than the other. But I have also noticed that one of the time series has longer consecutive deviations from the mean. This is particularly important for the purposes of my analysis. Is there a statistic or algorithm that captures that inform... |
Do I have to check for outliers in variables that have been recoded in categories? for example, I have variable "age" as a predictor and there is a lady of 76 years old when the mean age is around 25. but I have categorized the age variable to >30 and <30 and only included this new variable in my analysis. should I rem... |
I am trying to understand the formulas of ridge regression, lasso, and elastic net. If I got it correctly, the only difference between these 3 shrinkage methods is the penalty term,
i.e. for ridge regression $\lambda\sum_{j = 1}^{p}\beta_j^2$,
for lasso $\lambda\sum_{j = 1}^{p}|\beta_j|$,
and for elastic net $\lambda\... |
(Question originally posted on StackOverflow but users advised it was more appropriate to ask here:)
I’m just starting out with R so I apologise if this is a silly question, however I have Googled it extensively and can’t seem to find an answer. I am attempting to analyse data with structure:
'data.frame': 60 obs. of... |
I have data of a medical experiment and want to run a linear regression. More precisely, I have severity degrees of a disease of two independent groups (treatment and control group). The severity degrees are categorical with values {0,1,2,3} (0 meaning no disease, whereas 3 represents a widespread of the disease). In e... |
I'm trying to run a logistic regression on categorical dependent variables data; The dependent variable is a choice of Yes/No/Unsure.
I want to use glmer in lme4, how do I specify the family type?
If I transformed the dependent variables into rate of Yes (ACC), the distribution of ACC look like the histogram below. Can... |
I have to compare processed EMG waveforms (smooth curves) that I recorded from 7 different leg muscles of 4 different subjects to reference EMG data (Winter book).
The problem is that for the reference EMG data I have only the mean and the sd for each time point (51 time point).
Therefore I want to test if there is a s... |
I have a sample of N integer values and I would like to check the null hypothesis $H_0 \equiv $ "the sample has a Poisson($\lambda$) distribution"
This is, $p_i = P\{X=i\} = e^{-\lambda} \dfrac{\lambda^{i}}{ i!}, i=0,1,...$
So I've tried two approaches, both taken from the book "Simulation" 3rd edition from Ross.
First... |
For my master thesis I working on model averaging for panel data.
So far I was not able to use common model averaging packages (BMS, BMA) because I use panel data (plm regression first differences).
My first question would be, is it possible to use those packages with panel data?
If not, I managed to construct a restri... |
I am analyzing data from a bacterial growth experiment. In my experiment, I have different growth condition. For every growth condition, I have measured the bacterial number at day0, Day1, Day2, Day3, Day7 and Day14. So my main objective is to see the significant difference in bacterial count between Day0 and other da... |
I want to simulate $y_t$ given a set of parameters $\theta = (\mu, \phi)$, where $y_t$ is given by
$y_t = \epsilon_texp(h_t/2)$,
$h_{t+1} = \mu + \phi(h_t - \mu) + \eta_t,\,\, t = 0,1,...,n.$
and
$
\begin{pmatrix}
\epsilon_t\\
\eta_t
\end{pmatrix}\Bigg|(\rho, \sigma) \sim\,\,i.i.d.\,\,\mathcal{N}_2(0,\Sigma), \,\,\, \S... |
I have a time series, AW1, with 365 daily observation, but I ignore if I should build my model taking the time series as given or taking the first difference. (I know many questions approach this problem, but I'm still confused as the time series presents different aspects. )
I rejected the null of a unit root, and hen... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.