instruction stringlengths 9 38.7k |
|---|
I am studying the relatively classical model of selection to estimate the union wage premium, with two equations of salary and one two step equation of selection
$\ln(w_{1it}) = X^{'}_{it} \beta_1 + \epsilon_{1it}$
$\ln(w_{0it}) = X^{'}_{it} \beta_0 + \epsilon_{0it}$
$union^*_{it} = \gamma X^{'}_{it} + \epsilon_{2it}... |
I think this is more of a stats advice than code question so I've posted here rather than SO. My data looks like this (~300 more sample rows).
> head(nest)
GroupA GroupB SubA SubB Treat
1 45 100 3 6 Pos
2 43 80 2 5 Neg
3 64 70 0 4 Neg
4 75 76 2 5 Pos
5 ... |
Suppose I have a fruit stand where I sell oranges. Every day I have an average of $\lambda$ people (Poisson distributed) each buying a normally distributed weight quantity of oranges with mean $\mu$ and standard deviation $\sigma$.
What's the mean and variance of the number of pounds of oranges I sell per day?
OK, the... |
I have a data set with about ~2000 data points. Of these ~1000 actually have features/data. (All 2000 data points have an outcome)
Where there's no data, there is very likely a signal. In other words, if I'm not able to get data for that data point, that's significant in and of itself, and there is a big difference in ... |
I have time series analysis for a disease, as well as climate data over the same time period which includes rainfall and temperature. I have these data for eight distinct locations (latitude and longitude points). I want to see if there is any correlation between seasonal patterns of the disease and climate, and see if... |
Here's a stats question I'm having trouble with:
Suppose the researchers plan to do a follow-up study in the future to once again estimate
π = the true proportion of the population that gets help for pain associated with joint pain or stiffness from acupuncture (In the study, 31 of 32 of the respondents reported that t... |
I am planning to recruit participants in a college by advertising through posters, fliers, and the College Facebook. Is this method of recruitment considered clustered sampling, which is a type of probability sampling? I am afraid that if I make use of a convenience sampling, it will not be considered "probability samp... |
What is the variance of the average of $n$ Bernoulli distributed random variables $Bernoulli(p)$?
So $\text{Var}\left[\frac{\sum_i x_i}{n}\right]$
|
I'm trying some metrics to filter a list of gene names with associated numerical values
which correspond to their abundance.
I'm looking for some interesting genes and trying to see if they come up to the top region of the ranked gene list (ranked by abundance)
before and after filtering. Please see Fig. enclosed.
I ... |
I am doing a study where I am measuring parity in sports. To do this I am looking at how well a year's winning percentages (WP) are distributed. I am currently comparing them to a binomial distribution, but since each team's WP is directly related to the WP of its competitors, I worry that I'm missing out on a better... |
(This is based on a question that just came to me via email; I've added some context from a previous brief conversation with the same person.)
Last year I was told that the gamma distribution is heavier tailed than the lognormal, and I've since been told that's not the case.
Which is heavier tailed?
What are some reso... |
I'm using 'betareg' package in R to perform beta regression. predict() function with se.fit=T is supposed to return standard errors along with the prediction but it doesn't. Is there any other way I can get the standard error outputs?
I'm open to using other packages that can perform beta regression too.
|
Consider the communication network shown in the figure below and
suppose that each link can fail with probability p. Assume that
failures of different links are independent:
All links are independent. Find the probability that there exists a
path from A to B along which no link has failed.
I used this graph ... |
I have read three main reasons for standardising variables before something such as Lasso regression:
1) Interpretability of coefficients.
2) Ability to rank the coefficient importance by the relative magnitude of post-shrinkage coefficient estimates.
3) No need for intercept.
But I am wondering about the most importan... |
I am supposed to find parameters of individual gaussians in a 1D mixture with a known number of components. I use my own implementation of EM algorithm; however, I am not able to find the right solution.
Data
Number of points: 5057
Number of components: 5
Problem
Everytime I launch the algorithm, all resulting compone... |
I'm doing my dissertation in Accounting and I developed a questionnaire to test certain hypotheses on the relationship between independent variables and a dependent variable. All were measured on a 5-point Likert scale. I am using SPSS to analyse the data. The variables are all non-normal (I used Kolmogorov-Smirnov tes... |
I'm trying to get a handle on interactions between three variables in a regression-sense and how they differ from interactions in an information theory sense.
Imagine we wish to determine whether two factors X and Z are interacting in the context of Y.
For the mutual information based-measure, we use interaction inform... |
I often use the reduced chi squared as a quick goodness of fit test when fitting histograms. Is there an analogous method that works more generally for interpreting the absolute value of the best fit likelihood when data are not normal? I'm thinking of binomial and poisson with noise here but the more general the bette... |
I have a directed bayesian given by the figure below. In the figure the circles are random variables and the shaded ones are observed. The rectangular nodes are constants representing the hyper parameters over the prior distributions.
I have now tried to prepare the corresponding factor graph for the problem, which I ... |
Context
Suppose I have two models, $H_1$ and $H_2$ for which I know the prior probabilities $p(H_1)$ and $p(H_2)$.
Furthermore, I know the class-conditional distributions $p(x|H_1)$ and $p(x|H_2)$ of a random variable $X \in \mathbb{R}^n$. I get to observe a realization of $X$, call it $x_0$.
The posterior distribution... |
Context
I must find the general form of a linear equation. The $X$ and $Y$ values are the location coordinates of touches on a screen. I want to find the best fit line, described by equation $mX + nY + p = 0$ , so I need to find $m, n, p$.
I want to be able to make regression of horizontal lines as well as vertical lin... |
I'm dealing with a system which monitors and records a time series (half hourly) which I plan to use to build a double seasonal time model (if possible using something that already exists, such as tbats from R's forecast).
My issues is related to the fact that I don't plan to build this model very often.
Let's say I ha... |
I have a bivariate discrete numerical dataset and would like to reduce its dimensions to a single variable. A 9 x 8 table of counts of the (x,y) data values is:
0 1 2 3 4 5 6 7
-----------------------
8 | 10 38 58 79 50 19 15 1
7 | 22 61 67 86 43 19 7 0
6 | 44 70 44 44 19 6 2 0
5 | 45 33 29 8 5 2 ... |
Given $c>0$ and define a function $f:(0,\infty)\mapsto \mathbb{R}$ by
\begin{equation}
f(\sigma)=\frac1{\sqrt {2\pi}\sigma}\int_{-\infty}^\infty\max\{-c,\min\{x,c\}\}^2e^{-\frac{x^2}{2\sigma^2}}.
\end{equation}
We can see $f$ as the second moment of $X_c=\max\{-c,\min\{X,c\}\}$ where $X\sim N(0,\sigma^2)$. I could prov... |
Is there any interpretation (graphical or otherwise) of a radial basis kernel SVM being trained with a single feature? I can visualize the effect in 2 dimensions (the result being a separation boundary that is curved rather than a linear line. (e.g http://en.wikipedia.org/wiki/File:Kernel_Machine.png).
I'm having troub... |
In an experiment, I'm counting failures on an semiconductor device for a given fluence (i.e. amount) of neutron radiation. The failures occur according to a Poisson law.
The fluence is provided by the neutron facility. The fluence standard error $\Delta{x} = \frac{\text{s}}{\sqrt{n}}$ has been computed by the neutron f... |
For example assume I have three observations as given in matrix A
$A = \left[ \begin{array}{ccc}
1 & 0 & 1 \\
1 & 1 & 0 \\
0 & 1 & 1 \\
\end{array} \right]$
each row vector of matrix A has a weight value associated with it as $w = (0.5, 0.3, 0.2) $
Using the equation in Wikipedia which is:
$$ \bar{x} = \sum_{i = 1}^{N}... |
I want to design a Bayesian model for a simple asset allocation problem.
Say I can buy $a_i$ amounts of $N$ assets. The return values of these assets are given by random variables $r_i$ with known posteriors $p(r_i | \textbf{x})$, given some known data about the market $\textbf{x}$.
I define my utility function (i.e. ... |
For some practical application I recently came about the following thought experiment. Can anybody help?
Suppose we administer a survey A to measure a variable $Y$. The response probabilities may depend on $Y$, as in $$P(R_a=1|Y)$$ where $R_a$ is the response indicator, 0 for nonresponse, 1 for response. We also admini... |
I´m trying to visualize a glm model with a binomial response variable, I want to put a line in the plots, but neither lines or abline work and I don´t know why when I have significant responses according to the model I used. Any idea why plotting a line does not work?
> summary(model2)
Call:
glm(formula = Lövförekoms... |
So I'm taking N bootstrap samples and training N logistic regression classifiers on these samples. Each classifier gives me some probability of being in a binary class and then I average these N probabilities to get a final prediction.
My question is if I took the N sets of regression coefficients and averaged those an... |
If the prior and the likelihood are very different from each other, then sometimes a situation occurs where the posterior is similar to neither of them. See for example this picture, which uses normal distributions.
Although this is mathematically correct, it doesn't seem to accord with my intuition -- if the data doe... |
Summary:
Consider a scenario where you observe the inputs ($X$) to and outputs ($Y$) from a process ($B$). If I have a model describing how $X$ evolves over time, and a similar model for $Y$, how do I combine the two?
Example + Details
To make this concrete, consider the coupled $B$iological process of photosynthesis +... |
I'm working on analyzing some data that need to use lme model, but I'm not sure about interpreting the output.
Data looks like this:
> head(data)
Mouse.Number Mouse.Number.Unique Overall.Mouse Batch Day Drug Tumor.Volume X
1 1 1 1 10 -35 Cetuximab 27.4 NA
2 ... |
3 cards are drawn from a deck of 52 cards. Let $X$ and $Y$ represent the number of hearts and number of diamonds respectively. Find the correlation of $(X,Y)$.
I know that correlation is defined as $\frac{\mathrm{COV}(X,Y)}{\sigma_{X}\sigma_{Y}}$.
I also understand that the two random variables are not independent.
|
I got this plot when I plotted a clustering object in R. If I run km <- clara(data, 2), then plot(km), I get a similar plot. How do we interpret this plot with respect to the clustering? How useful would a similar plot be if I have more than five clusters? To be more precise, how are principal components related to cl... |
How can you estimate the upper bound of $y$ in this situation? Given:
a function $y=f(x_1,x_2,x_3,x_4,x_5)$ with 5 parameters ($y=f(\cdot,\cdot,\cdot,\cdot,\cdot)$ can be any function).
for each $x_i$ there are $k_i$ possible values.
I want to estimate the upper bound of $y$ but I don't want to try all combination... |
In Bayesian Data Analysis, chapter 13, page 317, second full paragraph, in the modal and distributional approximations, Gelman et al. write:
If the plan is to summarize inference by the posterior mode of $\rho$
[the correlation parameter in a bivariate normal distribution], we
would replace the U(-1,1) prior distr... |
I know how to use PDFs to calculate probabilities, but I don't think I understand them. For example, at $X=0$ the PDF of the standard normal distribution is $\approx 0.4$. Does this have any useful meaning?
|
I have one dependent variable and many predictors, and I need to use a multiple regression model (linear).
Now, I performed a stepwise regression to determine which independent variables to include in the final model.
However, I see that when results are published, people usually show more than one model. For instance... |
I have empirical data consisting of a variable that is arranged in 4 groups. In each of the groups the variable roughly follows a power-law distribution (Pareto distribution). I want to test for differences in means across the group, as I would with a t-test of the mean for normally distributed data.
What is the best ... |
I don't know if this belongs here or in StackExchange, it is a mixed but probably pretty simple question. How do I normally report a Likelihood Ratio Test? I would love a good reference in your answer, I have searched but could not find any good answers.
> glmm0 <- glmer(yngel ~ (1|nest), data, family=poisson(link="log... |
Apparently $T^{-3/2} \sum\limits_{t=1}^T{y_{t-1}}u_t$ converges by law to $0.5\times T^{-1/2}\sigma^2 (X-1)$, where $X$ is a $\chi^2(1)$ random variable. $u_t$ is white noise and $y_t$ is an AR(1) process, that is $y_t=y_{t-1}+u_t$ with $u_t\sim iid N(0,\sigma^2)$.
I want to prove that the above expression also converg... |
Suppose we have the following Cox Model: $$g(t,d,x ,\beta) = \ln[h_{0}(t)]+d_{1}\beta_{1}+d_{2}\beta_{2} + d_{1}d_{2} \beta_{3}$$ where $d_1$ and $d_2$ are binary variables that take $1$ or $0$. What is the difference between the following hazard ratios:
$$\exp(\beta_{1}+\beta_3)$$
$$ \exp(\beta_1+\beta_2 +\beta_3)$$
I... |
Cox Proportional Hazards models are traditionally taught alongside proportional hazards assumptions. There is a corresponding test of proportionality. However, if standard errors are calculated from sandwich estimators, there's no need to worry about that assumption, you just interpret the hazard ratio you DO obtain as... |
After I remove these 4 observations, the results change from weak and not statistically significant to the opposite (rho=0.559 with p<0.01). Should I just remove them or what should I do? Although the Spearman correlation is robust against outliers, can I call these observations outliers? If so, how should I deal with ... |
Let's say I have two samples and I want to calculate confidence intervals for the means of each sample.
x = rnorm(10)
y = rnorm(10)
Using the t.test command I'm able to get the following output.
> t.test(x, y)
Welch Two Sample t-test
data: x and y
t = -0.0104, df = 17.17, p-value = 0.9918
alternative hypothesis... |
I fitted a Bayesian hurdle model assuming a Poisson distribution:
$
P(Y_i=y_i) = \begin{cases}
1-\pi_{i} & \mbox{if }y_i=0\\[0.5em]
\pi_{i} \frac{\lambda_{i}^{y_i} e^{-\lambda_i}}{y_i!(1-e^{-\lambda_i})} &\mbox{if }y_i > 0
\end{cases}
$
Because the log-likelihood is separable with respect to $\pi$ and $\lambda$, I fit... |
I was trying to find a suitable way to compare the relative data dispersion between two groups and also to investigate if they are statistically significant. During the last weeks, I have searched a lot and read several papers and finally come up with a solution. As I am not from statistical background, I would like yo... |
Is it reasonable to average LASSO coefficients from repeated reshuffling of training/test sets?
Suppose I randomly divide my data into testing & training sets, then within the training set use 10-fold cross-validation to choose an optimal $\lambda$, then refit on full training data and record the model coefficients. No... |
I have data where the response is of the form (k,n) - k successes, n trials for a given subject. The covariates are just some subject-specific predictors. Is it possible to use randomForest for this? I have thought about replicating the data so that for each subject we have n lines, k of which have the y-value '1' a... |
I am trying to solve a least squares problem where the objective function has a least squares term along with L1 and L2 norm regularization. I am unable to find which matlab function provides the ability to perform such an optimization in addition to specifying constraints. I looked into the MATLAB optimization toolbox... |
I have a rather small dataset of clinical variables and survival times. I've tried running linear regression on these in a cross-validated fashion. I note that in some cases, the regression will give a negative prediction. As these are survival times, this is nonsense.
I am wondering if there is a generally accepted... |
How can I find if I should t-test or chi-squared test if I am given a problem like the following?
Consider testing $H_0: \sigma^2_X = \sigma^2_Y$ against $H_1: \sigma^2_X ≠ \sigma^2_Y$ from two independent samples from normal populations with unknown means $\mu_X$ and $\mu_Y$ and standard deviations $\sigma_X$ and $\s... |
Let's say I have to sample from a pdf $\pi(x) = 3x^3+\frac{3}{4}x^2, 0 \le x \le 1$. I know we have to pick some pdf $g(x)$ such that $cg(x) \ge \pi(x)$ for all x. The only thing that came to mind was using $g(x) = 1$ with $c = 3.75$. So $cg(x) = 3.75$. No better distributions come to mind that are easy to sample from.... |
I have a toy dataset and want to eval the AUC - ROC with bootstrap
set.seed(117)
test <- c(rnorm(70, 40, 10), rnorm(30, 55, 10))
dx <- c(rep(0, 65), rep(1,35) )
df <- data.frame(cbind(test, dx))
r <- 1000
boot.f <- function(d, i){
data <- d[i,]
p <- unlist(subset(data, data$dx==1)["... |
If the continuous variables are measured with error, can the use of dummy variables mitigate the problem? For instance, IQ measures intelligence with error. So will using a dummy of high, medium, low IQ mitigate the measurement error problem? Thanks!
|
Why is there no 17| xxx in the stem leaf plot?
Thanks.
|
I have used the following line of code but it doesn't give me the right answer for (chi-squared) test statistic while it gives the right answer for p-value regarding the following question:
"Consider testing H_0: p = 0.5 against H_1: p ≠ 0.5, given that there were 38 successes in a sample of size 56. Find the value of ... |
I think I understand what a normalizing constant is. Say for example you have a pdf $f(x)$ with support $0 \le x \le 5$. If you wanted to truncate the pdf and only look at $0 \le x \le 3$ you would need to use a normalizing constant $c$ such that $\int_0^3 cf(x)\,dx = 1$.
The problem I'm dealing with states:
In clas... |
Let us say this is an output of a model I ran in Stata, where int_retis a continuous variable and time1-time17 are time dummy variables. Reference is time0. I notice that the coefficients are significant at alpha=0.05 up til time 5 after which it stops being significant. I also notice that the coefficients for time dec... |
I have a more general question. Could somebody please explain what is the general difference between OLS and FE (Fixed Effects) in a very simple way? In terms of use in panel data and in general.
Thank you!
|
I have a graph which represents a P(x) vs. x data where x can have 10 possible discrete outcomes.
Data looks as follows: {{200, 0.0058668}, {306, 0.0503333}, {411, 0.163055}, {520, 0.203411}, {624, 0.175508}, {732, 0.131158}, {840, 0.0892774}, {950, 0.0613757}, {1055, 0.0416968}, {1160, 0.0277754}, {1268, 0.0228999}, {... |
I'm quite new to this topic, so this is probably very basic for most of you:
I want to analyse the relationship of multiple variables via partial correlation as an alternative for a regression analysis. I don't only want to find out how the independent variables relate to the dependent variable but also I want to analy... |
I am wondering whether there exist a closed-form expression for the expected assortativity coefficient (http://arxiv.org/pdf/cond-mat/0205405.pdf) of an Erdos Ranyi random graph model $G(n,m)$, where $n$ is the number of nodes and $m$ is the density (http://en.wikipedia.org/wiki/Erd%C5%91s%E2%80%93R%C3%A9nyi_model).
A... |
I am working with EEG and now I am trying to compare coherence for two groups of individuals. Problem is coherence is dependent on length of signal but I have signals with different length for each individual. So I decided to divide my signals on equal pieces and randomly choose fixed number of pieces for each individu... |
I have reactions times in a no-normal distribution, so I am using logarithms.
Which can be the best way to estimate a regression?
Later, I would like to plot the results according to the age of my subjects.
|
Is it true that if a random variable $$X$$ follows a distribution, say one of these
Binomial
Poisson
Exponential
Normal
Uniform
Then $$\frac{X}{20}$$
follows the very same distribution as $X$?
|
Say you are doing some online bayesian inference over observations.
You want to infer $\mu, \sigma$ for $X$, with a model $X \sim \mathcal{N}(\mu, \sigma)$.
Now everytime you observe a $X_i$, you update your prior with your new posterior and get a new estimate $\mu_i, \sigma_i$. That becomes the prior for your next obs... |
We know that
$X$ follows $\mathrm{Bin}(n_1,p_1)$, $Y$ follows $\mathrm{Bin}(n_2,p_2)$, $X$ and $Y$ are independent. What does $X+Y$ follow?
I know the answer, that if $p_1=p_2=p$ then $X+Y$ follow $\mathrm{Bin}(n_1+n_2,p)$ but I do not quite get it. I tried to match $X+Y$ to the criterion of Bin distribution:
Success/... |
I would like to know if the following analysis strategy is correct conceptually, if it makes sense. I found difference in fish assemblage structure between two estuarine sectors, through PERMANOVA. I would like to identify what environmental factors are associated with this difference. Then, I used DISTLM (Distance‐bas... |
Can I multiply impute missing data in some of the
variables which were for some reason not measured at one time?
For
instance, for production I have time series data for 1961-2011: however, some of
the predictor variables (rainfall, temperature, humidity and few more) which
I suspect could have impact on rice produ... |
After reading lots of material about the subject, I believe that the term "stochastic drift" is defined in a two different ways. These two different definitions make the term unambiguous and I assume that this is the reason you find so many questions regarding unit root testing and ADF.
Definition one (quoted of "Basi... |
I have a number of samples (data points) from two experimental groups, A and B (500 altogether). Each sample corresponds to a large number of variables (genes in my case); together, they form a matrix of $500 \times 40000$. I would like to answer the question, are samples in group A on the general more variable than sa... |
As part of the analysis of the data collected from a survey, I was carrying out Kruskal-Wallis Tests between some Likert scale questions and demographics such as firm size and job position. I am using this test instead of One Way Anova since the data is non-normal.
For example, testing the responses of the following s... |
I have the following probability model:
$(X_k|\text{PastHistory}_{k-1}, \theta_0,\theta_1,\theta_2) \sim (\pi\cdot N(\theta_1+\theta_0\cdot X_{k-1},1)+(1-\pi)\cdot N(\theta_2+\theta_0\cdot X_{k-1},1))$
and $X_k=0.5X_{k-1}+\epsilon_k$ with $\epsilon_k \sim N(0,1)$
I want to build a function that gives a sample of size n... |
I have a large empirical panel, where I basically want to regress the standard deviation of (equity) returns ($y_{it}$) of firm i at time t, on leverage (equity/debt) of firm i at time t ($x_{it}$). Further I would like to control for the equity size of the firm ($z_{it}$).
Unfortunately the $\beta$ coefficient sign c... |
I have a data set based on percent time a fleet of machines were available each month, as a result the majority of the observations are close 100 with a few being lower and one or two being 0 this creates a J distribution which whose effect can be seen in the attached graph.
My question is therefore: As the distributi... |
I am trying to understand what makes estimating the posterior distribution such a hard problem.
So, imagine I need to estimate the posterior distribution over a set of parameters given the data y, so a quantity $P(\theta|y)$ and $\theta$ is generally high dimensional.
The prior over $\theta$ is a multivariate Gaussian ... |
I have a confusing regarding the assumption test for the data, in some theory were said that there are three assumption of data as we called as "good" data:
Independent
Normally distributed
Homogeneity
my question are:
Referring to point (2) and (3),
We said the data is normally distributed, based on the raw data... |
Background
In sensory science, "replication" means having a panelist in a taste panel do multiple rounds of the same test. You cannot just count those additional rounds as additional panelists, because panelists might show consistent performance. In that case, replications would just confirm the abilities of individual... |
I have a pretty complex function that I'm trying to make my computer learn using CNNs. It involves 70 X 70 grayscaled images. The final output is the output of the last unit (it's because I want to predict probabilities from 0 to 1). What's the best layer architecture to address complexity but at the same time not resu... |
I use mixed models (random effect for person; repeated measurements) in lme4 to model a continuous outcome. Predictors are both categorical and continous.
My outcome variable (blood pressure; typically between 100 and 170) has a non-linear evolution over time, which is presented in the figure below.
code used:
model <... |
Given $X\sim N(0,\Omega)$. Suppose that we can construct a sequence $\{X_n\}$ based on the observation such that $\{X_n\}\to X$ in distribution. My problem is to estimate $\Omega$ consistently using this sequence.
If $\operatorname{var} X_n$ converges to a "finite" matrix, then of course $\operatorname{var}X_n$ is the ... |
I have carried out some research on whether awareness and knowledge of HIV had been increased on university students by giving a questionnaire to students before and after a presentation on HIV. Only 140 students completed the pre questionnaire and only 129 completed the post questionnaire after the presentation. So ho... |
A linear mixed effects model allows you to specify random subject-level effects, or a (non-zero) covariance structure for within-subject residuals, or both. I've read a number of separate explanations of subject-level random effects and residual covariance structures, but I don't understand how these relate to each oth... |
Suppose that, for year $t$, the data $y$ is Poisson with mean $a + bt$. Assume also a uniform prior on $(a,b)$. If we have $n$ years of data then I think the posterior for $(a,b)$ will be
\begin{align*}
p(a,b | y) &\propto p(y|a,b)p(a,b) \\
&\propto p(y | a, a) \\
&=\prod_{i=1}^n {\rm Poisson}(y_i | a+ bt_i) \... |
I have two sets of random data $X=\{x_1,...,x_N\}$ and $Y\{y_1,...,y_N\}$ both of length $N$. The sets are autocorrelated such that the correlation between $x_i$ and $x_j$ depends only on $|i-j|$. From both of these I can find the sample mean,
$$
\bar{X} = \frac{1}{N}\sum_{i=1}^N x_i
$$
and similarly for $Y$. I beli... |
I am testing a product (liquid bag) for leakage and my primary variable is the amount of leakage in ml. I have a specification that states, on average, leakage must be below XXml. In total I tested 20 bags. Now my problem is this: none of the bags leaked so essentially my data consists of 20 values all equal to zero. S... |
I have an assignment to implement the adaptive resonance theory (ART) type network (as part of a bigger project). I have red a lot of Internet resources on the topic and I think I've got the essence of it, but I am not sure. So far I have the following findings and questions:
The ART1 network has two layers (input and... |
Can someone please help me with finding the joint density of $Y_1$ and $Y_2$ when $Y_1=X_1+X_2$ and $Y_2=X_1-X_2$?
|
Is it appropriate to include intermediate outcomes in a predictive model?
It is quite clear that one should not control for post-treatment variables / intermediate outcomes when the goal is causal inference, but I wasn't sure if the same advice should hold when one's goal is to build a model for prediction.
Here is so... |
I'm conducting some research related to the use of patient data and quality of care. I'm generating a linear regression graph between phone bill size and customer population. Assume that the intercept of this graph came up a positive value, but the 95% confidence interval for the intercept was (-50, +50).
Since a pho... |
I would like to get the standard error on a prediction. Using R glm, I can get the SE of the fit for a specific prediction:
mod <- glm(y~wa_WSI, data=mydata, family=gaussian(link="identity"))
predict.glm(mod,newdata=newdata, type="response", se.fit=T)
But when I compare the predictions with the actual values, this num... |
I have frequently heard concern over "brittleness" of entropy and mutual information as performance metrics for a statistical fitting and the fact that it leads to overfitting. You can see an example of such concern in this blog post. However I have trouble understanding what exactly "brittleness" means in this context... |
Can the chi-squared test be used for comparing survival curves between or among treatment groups? In the particular case of interest, there are 4 treatment groups.
|
I'm trying to figure a way of properly displaying the difference\resemblance between various regression values on the same data set, using cox ph, weibull regression and log-normal regression.
Weibull and log normal are similar in their result (predicted values) but cox ph returns the survival function, so I'm not sure... |
I have two variables I want to test with correlation, one is continuous and the other dichotomous. My data are non-normally distributed, plus the variance is heterogeneous, so I have to apply a non-parametric test of correlation. The problem is, I don't know of any test that fits my requirements.
Spearman's correlation... |
I have the following question to answer:
The total thickness X of the four pads of 36 half-ring (H-R) mounts
for aircraft engines, taken periodically from the production line,
were found to be as shown below. Determine whether the total number of
runs above and below the median of this sequence of values of X is... |
A consumer group rated 12 manufactured products
import
ed from a single
source on a scale
of 1 to 10. The data are shown below. Do the data provide sufficient evidence to
indicate tha
t the median score is greater than 5? Use
the
sign test at the 1% level of significance.
2
9
6
7
8
5
10
2
8
5
3
4
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.