instruction stringlengths 9 38.7k |
|---|
I’m working on a classification problem. However, my training dataset is very small (just 800 items in training dataset) and each data item contains a small number of features (just 5 features). Firstly, I used Logistic Regression to create a model for this dataset. Unfortunately, prediction accuracy of my model was v... |
I have a function which I would like to use Taylor expansion and calculate its variance by the following formula:
The formula for variance then becomes
\begin{align}
\operatorname{Var}(f(X))=[f'(EX)]^2\operatorname{Var}(X)+\frac{[f''(EX)]^2}{4}\operatorname{Var}^2(X)+\tilde{T}_3
\end{align}
got the formula from Varianc... |
Given the following HMM model (from Ankur Jain's slides)
A question with the answer is presented below:
We have the initial probabilities $P(\text{Low})=0.4$ and $P(\text{High})=0.6$.
However, I'm confused why in the solution we have an extra $0.4$. I guess it should be as follows
$$P(\text{Dry} \mid \text{Low}) P(\... |
I am looking for advice and comments that deal with the analysis of ratios and rates. In the field in which I work analysis of ratios in particular is widespread but I have read a few papers that suggest this can be problematic, I am thinking of:
Kronmal, Richard A. 1993. Spurious correlation and the fallacy of the
... |
I have a function that I have added noise to. I want to test a few smoothers, but for each smoother I want to minimise MSE. I know the underlying function, so how can I make R automatically choose the bandwidth that minimises the MSE?
|
I have a survey data containing two samples drawing from two populations (or the same population but at different time series). Based on these two samples, I would like to estimate the total and its confidence intervals for each population. Since my sample distributions are highly skewed and both sample sizes are small... |
This was an example done in class, However I was sick
An experiment was performed to determine whether the average
nicotine content of brand A cigarette exceeds that of brand B
cigarette by 0.20 milligram. If 50 cigarettes of brand A had a sample
mean of 2.61 milligrams whereas 40 brand B cigarettes had an
average nico... |
I am working through past examination questions from the Royal Statistical Society and came across this one from 2009 in Module 5 (Question 2(i) and Solution):
The random variable $X$ has a $\chi^{2}_{k}$ distribution ($k=1,2,3,
...$) which has the moment generating function (mgf) $m(t) = (1 −
2t)^{−k/2}$ for $t < \... |
Suppose we're given data from three different classes which are normally distributed with the following means and variances:
$C_1: \mu_1=(1,2)^T, \Sigma_1^{-1}=( \begin{array}{ccc}2 & 1 \\1 & 2
\end{array})$
$C_2: \mu_2=(2,-2)^T, \Sigma_2^{-1}=( \begin{array}{ccc}1 & 0 \\0 & 2 \end{array})$
$C_3: \mu_3=(1,-1)^T... |
In decision theory, we define a reject option ($\theta$) so that when making decision is difficult, the case will be ignored.
Suppose $1/k \leq \theta \leq1$:
If $\theta=1/k$ no cases will be rejected
and
If $\theta=1$ all cases will be rejected.
Why this happes and how can I prove it for $\theta=1$ and $1/k$?
Sect... |
I found multinomial distribution really powerful in theory. But I don't know if my real case can be treated as multinomial. There are two cases:
There are $n$ students, $30\%$ chose apple, $40\%$ chose banana, $30\%$ chose grape. Then can I say the choice of single student follow a $\mathrm{Multinomial}(n,0.3,0.4,0.3)... |
I am trying to take three independent indicators and combine them into a single composite measure.
For discussion, let's say that this is a composite measure for 'economic performance', and that the measure contains three independent indicators: worklessness, qualifications and unemployment. Let's also assume that t... |
Suppose we have a regression model. If we get estimated of some of the coefficients and the standard errors are high, does this mean that the model is wrong/bad? How exactly do statistical packages choose regression models (in particular ordinal regression)?
|
I am working on a few algorithms where I have a list of $N$ samples. Currently I have plotted these into a histogram and have a view of how uniform the values are distributed within an interval, which is quite good as a visualization, although I need a comparable value of how uniform the dataset is, in order to measure... |
I have a general question about the Amelia package. I'm no mathematician or statistician, but I had to use R and impute and analyze some data, and Amelia showed results that fitted my expectations. I'll have to defend my choice soon, but I haven't totally grasped what Amelia does.
I'm particularly interested in a simpl... |
First, I would like to apology if my vocabulary is not correct. I am not statistician (and not mother tongue English speaker either).
So here is my problem :
For n subjects I got 8 values (human pressure at 8 different times). I would like to know if my n subjects are presenting the "same pattern" ( i don't know which ... |
Probably a basic question, but here goes:
Suppose we have 1000 people who respond to a survey (500 men, 500 women)
Respondents can choose to "like" a series of pages.
Each respondent can "like" as many pages as they want; it is possible to never like anything.
For page 1, 200 men like it and 150 women like it.
For pag... |
The Sheather-Jones method for selecting an appropriate bandwidth for kernel density estimation generally produces better results than simpler methods such as Silverman's rule of thumb and Scott's variant of this rule of thumb, both of which give bandwidths which are generally too large. I use the Sheather-Jones method... |
I am reading the chapter on Frequent Statistics from Kevin Murphy's book "Machine Learning - A Probabilistic Perspective". The section on bootstrap reads:
The bootstrap is a simple Monte Carlo technique to approximate the
sampling distribution. This is particularly useful in cases where the
estimator is a complex ... |
I have following data stored in a file. I am applying 'glm' in R to find linear regression equation to best predict the 'output'.
> tmpData
logOfOutput randomSample multiplied part1 part2 randNormalMean100Std20 output
1 0.0000000 33 11 1 19 89.65387 1
2 0.6931472 ... |
I'm preparing for an exam and I came across this problem from old exams. I'm really clueless on how to solve it.
Consider a sequence of random variables $\{X_n\}_{n=1} ^\infty$ defined on the probability space $([0,1],B[0,1],\lambda)$ where $\lambda$ is Lebesgue measure. Define $X_n(\omega) = 1_{[1/2-(2n)^{-1}, 1/2+(2... |
There is a significant 3-way interaction in a data-set I'm working with.
The interaction involves both categorical and quantitative variables.
I have been pointed towards simple slopes and this website but I find the explanations lacking. I only have a basic background in statistics, and Googling for other examples has... |
I have a data set that represents exponential decay. I would like to fit an exponential function $y = Be^{ax}$ to this data. I've tried log transforming the response variable and then using least squares to fit a line; using a generalized linear model with a log link function and a gamma distribution around the respons... |
If $Q$ is a generator matrix of a continuous time Markov chain (CTMC), and I need to use this matrix to solve the Kolmogorov forward equation, I would need to start by integrating it. But I haven't got a clue how to do it. Can someone show me please?
I know something like, let's assume $i$ represents the current state ... |
I'm wondering if there exist methods similar to one used in random forest algorithm - I mean taking simultaneously bootstrap sample and random subset of features, then building statistisal model. Have anyone took this approach for building set of regression models ? Is this approach ( random subsample plus random subse... |
As I'm completely new to statistics and clinical trials, I would ask you for help and clarification.
Let's assume we have 2 really small samples (each of n = 2, or so) derived from two normally distributed, infinite populations (with sigma of each being unknown). We would like to check whether the means of those popula... |
I have asked a stat question on math.SE which now I believe should be here. However, I repeat it here. As a newcomer, I would appreciate it if you could excuse me for any mistakes or repeating the same question (unanswered) as I really wanted to find it out as soon as possible!
Here is the problem:
Suppose, we have de... |
I am currently analysing my quantitative data. My sample size is 157 students who sat for a survey in 2 phases after an intervention. The same students sat for the same survey on positive outcomes on peer feedback (this is just one of the 7 dependent variables). I did RM ANOVA and test on the normality. It shows that t... |
Let's assume I have a (one-dimensional) array $I$ with a finite number $N$ elements. I also have a function $A$ that maps each element $I_n$ (for $0\leq\ n \lt N$) to the corresponding element $O_n$ in array $O$.
I also have a second function $B$ that maps each element $I_n$ (for $0\leq\ n \lt N$) to the corresponding... |
I was reading this paper related to sparse PCA
enter link description here
I didn't understand how they said that the function was convex or non convex
I wanted to know how in the screenshot attached above, the equation 3 is non convex. I am new to this so any help will be much appreciated.
|
For each record in my datasets I have the following information
$$ (X_1 \ , \dots \ , X_m \ , \delta \ , T \ )$$
where $X_i$ are features, $\delta$ is 1 if the target event occurs and 0 otherwise, and $T$ is the timestamp of the occurred event. In particular, $T$ might be missing if there was no event or set to time t... |
Possible Duplicate:
How should I transform non-negative data including zeros?
Error in boxcox.default(y ~ x) : response variable must be positive
I want to perform box cox transformation on data using R tool .If anybody can help me with examples or commands to show how it is done in R tool.
Thank you in advance.
My ... |
Error in boxcox.default(y ~ x) : response variable must be positive
I am getting this error in R when I am performing a Box-Cox transformation on data.
Why is this error happening? Here is my data.
This is a time series data and I have to perform logarithmic regression of the form:
$$y=a+b(\log x_1)+c(\log x_2)$$
I ... |
I have so-far tried all ways of computing kendall tau significance (where there are ties) described.
However, none of them works good, even for relatively large vectors. I think the problem is in general it seems that these methods tend to overestimate the statistical significance of data, so are there any alternative ... |
our decision function e.g. in SVMs for binary classification (where the response is labeld by $y_i \in \{-1,1\}$) has the form:
$f(\mathbf{x}) = \text{sgn}(\mathbf{w}^\top \mathbf{x} + b)$ where $\mathbf{w}^\top \mathbf{x} + b =0$ is the equation of the separating hyperplane.
But what happens if a new example $\mathbf{... |
I am currently working on time series modeling, especially on stationarity tests. For this purpose, I am extensively using Pfaff's book "Analysis of integrated and cointegrated time series with R" and I have some questions :
On page 63, there is a nice ordinogram (Figure 3.3) explaining how all the ADF tests are relat... |
After a cluster analysis I´m trying to plot for each cluster the Index plot of the Silhouette value instead of for the complete dataset
(like in the WeightedCluster Library Manual by Matthias Studer). First of all, is that theoretically correct? If yes...
I create the object "sil" with the wcSilhouetteObs command:
si... |
I have a dataset with one binary target variable called “target” and many many factors “F1”, F2”… “F200”. I’m trying to come up with code to fit 200 single factor logistic regression models and return the model summaries. Here is what I have so far
single <- function(df, factor){
s <- summary(glm(as.formula(paste('... |
I have created 5 imputations of a dataset and have fit a survival model to them all in R. I want to combine the estimates of the coefficients and the standard errors of the coefficients. To do this I have taken the mean of the coefficients and combined the standard errors using Rubins formula, i.e.
$$(1+1/m) \times \t... |
I might be missing something basic - but it appears that the strong law of large numbers covers the weak law. If that case, why is the weak law needed?
|
I have time series data that can be fitted by a constrained non-linear function (non-linear in the parameters to be estimated). I'd like to use the method of Lagrange Multipliers (link), specifically R's Rsolnp package (link), because the Lagrange Multiplier itself has economic meaning. I would like the statistical p... |
I´m trying to find variables predicting a disease by using first logistic regression for each variable on the disease and then entering the significant variables into a multiple logistic regression model. However, one of the variables in the multivariate model is a clinical score, which contains some of the variables a... |
I have data from questionnaire from school. 35 questions are various questions (influence of friends etc.)
Possible answers for 35 questions are "definitely yes", "mostly yes", "mostly no" and "definitely no".
I did hierarchical clustering using hclust in R. Then I used cutree for cut the dendrogram.
How to visualize d... |
I'm new to statistics and have a query:
I have been given a scenario:
An experimenter set out to test the hypothesis that high-drive participants would be able to learn a simple task much more quickly than would low-drive participants. That hypothesis further stated that on a difficult task the opposite would be found... |
For unweighted variance
$$\text{Var}(X):=\frac{1}{n}\sum_i(x_i - \mu)^2$$
there exists the bias corrected sample variance, when the mean was estimated from the same data:
$$\text{Var}(X):=\frac{1}{n-1}\sum_i(x_i - E[X])^2$$
I'm looking into weighted mean and variance, and wondering what the appropriate bias correction ... |
I am writing a very basic report on ability of three predictors (two dichotomous and one continuous) to predict the criterion. I created a scatter plot for the whole model, and all I have to do is write 1 or 2 very simple sentences on what it suggests. Would it be appropriate to state that the many residuals suggest th... |
I have a sample of length $N$, mostly taken from a Gaussian distribution with unknown mean and variance. Of those $N$ samples, some proportion of them (typically less than 1-2%) are outliers, taken from another Gaussian distribution with a larger mean (larger typically by 3+ standard deviations of the more common distr... |
This question will more than likely be extremely simple for most of you, but the way the scenario is worded has me confused.
Scenario:
The communication quality of couples three month before and again three month after marriage were tested. It was assumed that the communication quality would decrease after marriage. O... |
Suppose we have data set $X$ with $20$ observations. A confidence interval for the mean $\mu$ is always the same no matter what hypothesis we test? So if we test $H_a: \mu < \mu_0$, $H_a: \mu \neq \mu_0$ or $H_a: \mu > \mu_0$, the confidence interval will be the same?
|
I am trying to run a logistic regression in R on my data where my independent variables are 13 continuous variables and my dependent variable is binary. I want to segment my data so that I train on the first 80% and test on the last 20%. I have a total of 3750 rows of data so I utilize the first 3000 for training. I... |
I have a question to solve the following matrix problem:
$$E[( (X'X)^{-1}X \epsilon )^T ((X'X)^{-1}X \epsilon )]$$
into the solution
$$= \Sigma^{2} (X'X)^{-1}.$$
Where $\Sigma$ is the covariance matrix of $\epsilon$.
My question is how to solve this problem using the properties of matrix algebra.
This equation occurs ... |
The anova command is
anova score method/subject|method prediction method#prediction / prediction#subject|method infdir method#infdir / infdir#subject|method prediction#infdir method#prediction#infdir if(agegroup==0 & block==1), repeated(prediction infdir)
where method is a between-subjects factor, and each level of i... |
I have a dataset of 500 people and am trying to fit a prediction model using both quantitative and categorical variables. I have adjusted the dataset as much as possible, but still have one variable (which is important in the analysis) with 19 missing cases. What would you say is the best approach/program to use to r... |
Say you are on a beach that is composed of a mixture of different colored sands (for simplicity, black and white) and you wish to estimate how much there is of each type. You have a bucket that you can use to take samples of the sand and a technique to separate the different types and weigh them. Say also that the beac... |
I only have a uniform distribution function between [0,1]. And from this distribution, I should generate a sequence of Rayleigh distributed random variable using some software.
Anyhow, I was able to finish the problem using the formula from the Wikipedia article:
$$(1)\;\;\;\;X=\sigma\sqrt{-2\ln(U)}$$
However, there is... |
Not sure of the best way of phrasing this question, but I'll give it a go.
If I were to randomly choose whole numbers between 1 and $n$ a significant number of times relative to $n$ (say, $m$, where $m$ is something like 70% of $n$) and then looked at the distribution of frequencies of outcomes, I believe you would get... |
The zero-truncated poisson distribution has probability mass function:
$$P(X=k) = \frac{e^{-\lambda}\lambda^k}{(1-e^{-\lambda})k!}$$, $k=1,2,...$
And the expectation of the truncated Poisson distribution via MLE is given as $\frac{\lambda}{(1-e^{-\lambda})}$ According to this document (pages 19-22) the Fisher Informa... |
I have to do a Logistic Regression, and have to use a subset of the variables. I received this "tip": do a Decision Tree first, and use the most relevant variables in the Logistic Regression.
Is this a valid technique? If not, what problems does it face?
PS: This tip is also given here for a standard regression.
UPDATE... |
I DON"T have the underlying sample data (but could possibly request it). We are talking millions of data points (utility customers). It is actually the full population (not a sample) combed for those customers that were not in one rate class for the entire 2011 year (about 75% pass this threshold).
Since the full dat... |
This question is with regards to using a test data set to validate an imputed Cox model using R. With a non-imputed data set I would use val.surv() from rms, but I'm not sure how/if I can use it with my multiply imputed data set.
Further explanation:
I created a predictive Cox PH model for 5-year RFS, and also used th... |
How can I fit a logarithmic regression equation of form $y=a+b (\log (x_1)) + c(\log(x_2))$ on a data set using R?
Here the main concern is that data contain zeros multiple times, so R will give infinity in the output.
I have tried adding some constant to the $x$ variables, such as log(x1+0.00001) to avoid Inf but
I... |
Out of one pool, I've randomly selected a small group (group A) and put everyone else in group B. Then, I'm observing whether or not they take a desired action.
If I'm looking to test at a 95% confidence, what's the best methodology and stats test to use? I read that with a large enough sample, it's ok to use a standar... |
I am wondering if this the right place to ask this question. Normally it should be :).
I am recently reading some papers about matrix completion such as in here, and here.
I didn't go through some testing yet, but I am wondering about the following problem, suppose I have some elements $E_1,E_2,....,E_n$ and suppose ... |
I've used the twang package to calculate propensity score weights in my observational data set. The twang vignette uses the survey package to apply the weighted PS in analyses, but does not provide an example for Cox proportional hazard estimation.
The survey package provides a function called svycoxph() which which se... |
right now I am facing the problem of handling a very small sample size which consists of 8 observations with 24 variables.
I would like to do first just simple OLS with one dependent and 23 independent variables and use these coefficients to estimate NLS estimates. These estimates will be used for further studies.
Th... |
Which null hypothesis can be tested by a $\chi^2$ test?
could you please write the description of the relevant null hypothesis or at least give an example.
Thank you.
|
I have two variables. They're both $I(1)$ even when I fit constant and trend terms into the ADF test. The $p$-values for the stationarity tests are around 0.5 so it's not a marginal case.
However, when I execute the Johansen procedure with a constant in the error correction term the $\Pi$ matrix is full rank by the tra... |
Next weekend you will be participating in 12km cross country race on a mountain.The average time between two successive wild animal sightings on the mountain is reported to be 5 minutes
(a) What is the probability that you see at least one wild animal in the 11th minute of the race given that you will see 3 wild a... |
I'm doing data analysis with MATLAB and I have a bunch of files with missing data here and there and somewhere even whole days or months worth of data is missing, because sensor devices have been fixed or changed or something like that.
My question is: How to decide what to do with missing data? When is it best to set ... |
For my master's thesis I would like to use different clustering algorithms to cluster municipalities (as objects) in regard to their land-use characteristics (as variables).
Analyzing my data descriptively I noted that I have a lot of extremely left skewed distributions (for example a lot of municipalities have zero v... |
I have a dataset of population growth rates (pgr). Most of the observations are relatively small (positive and negative) but there are also somewhat more extreme values (also positive and negative). The distribution is quite symmetric. To normalize the distribution I thought to take the square root of the absolute val... |
Is it possible to extract fixed effects in the fixed effects model in Stata?
I know that in R I can do something like this with fixef command:
withinmodel <- plm(formula=y~x,data=Data, model="within")
summary(fixef(withinmodel))
But is it possible in Stata?
|
What kind of null hypothesis can be tested using a Student's t?
It's very likely to be one of the questions of the statistics exam. In order to test a null hypothesis using the Student's t, does it need to have particular features?
|
We know that dealing with model involving MA factors is not easy to estimate, since there are past values of errors to be computed recursively. And this recursive estimation requires preliminary (initial) estimates of the parameters. For example, an ARMA(1,2)
$$z_t=\phi z_{t-1}-\theta_1 \varepsilon_{t-1}-\theta_2 \vare... |
Is ER more efficient implementation (somelike Extreme Gradient Boosting is to gradient boosting)-- is the difference important from practical point of view ? There is R package which implements them. Is it new algorithm which overcomes "generic" implementation (RandomForest package from R) not only in terms of efficien... |
I am trying to fit a time series using the function auto.arima and I face some strange results.
As a first try, I use the command
auto.arima(data,d=0,D=1,max.p=2,max.q=2,max.P=2,max.Q=2,max.order=8, xreg=xreg_past,trace=TRUE,ic="aic")
The model I get is an ARIMA(2,0,2)(0,1,1)[12] with an AIC equal to -300.14.
But sinc... |
I was reading about regression. I understand one of the how the variance of each $x_i$ needs to be normal distributed, but why doesn't that related to the $s_b$? It seems like it should. I was reading the AP College Board paper about Inference.
Two more assumptions are that the errors are normally distributed and tha... |
I want to study association b/w continuous data (age) and dichotomous data (complication: yes/no), with "correction" for an ordinal variable (intra-operative nerve laesion).
I have a database of 427 patients, of whom 50 have suffered a post operative complication (altered sensation).
The goal of this research is to an... |
I have question regarding which R-package to use to create a latent class/mixture model
with both categorical and continuous indicator variables. I have not yet found a good example of this using R, even though there are a lot of mixture and latent class analysis packages in R. The software package Mplus have this capa... |
When you conduct a 1 sample t-test why does minitab only give an upper bound or a lower bound for a confidence interval? So if $H_0: \mu = \mu_0$ and we test $H_a: \mu < \mu_0$ or $H_a: \mu > \mu_0$ why is only an upper bound or lower bound of a confidence interval returned respectively? Whereas testing $H_a: \mu \neq ... |
I was wondering if I can categorize the factor saved scores by taking their quartiles (or some other measures, I am not sure what should I use!) as cut points and use them as predictors in an ordinal logistic regression.
The reason I am thinking of doing so is that, the number of empty cells increases to a lot extent i... |
I am simulating two fair coins and running a prop.test, how come increasing number of trials doesn't decrease false positive? I'm suspecting it's in some underlying assumptions in the R functions that I'm using which I missed.
This binomial coin flip simulator takes argument N, for number of trials, and returns the p-v... |
I am trying to fit a dataset using the standard NNLS (non-negative least squares) approach.
Formally:
$\min_x ||Ax-b||^2_2$ s.t. $x\ge0$
This is a quadratic program and can be solved optimally. The solution I find fits the data reasonably well and is relatively sparse (which is good for me) but has an undesirable prope... |
Is there a good book/pdf similar to "Elements of Statistical Learning" that's available for free online, that deals with Bayesian statistics, ideally with code for R?
|
I have the following exercise:
Wigan v city 90 mins match:
Wigan scores after 30 minutes.
Calculate home, away and draw in percentage terms with poisson
regression, assuming pre-match odds were 5.00 - 4.00 - 1.80 for
Win/Draw/Win respectively.
Please advise how to proceed with this question for my exam.
AD... |
What is the best book to learn probability - Poisson, binomial, regression, etc.
I am working as an odds adjuster at a bookmaker and need to advance my skills to an odds compiler level.
|
I have a simple question regarding the use of paired t-test and two-sample t-test:
What is the consequence of using the independent two-sample t-test for dependent paired samples?
What is the consequence of using the paired t-test for independent samples?
Thanks!
|
I am doing a logistic regression where my dependent variable is whether or not a person owns a particular product.
Among the variables in the model is an indicator of marital status, 1 for married, 0 for not married. This is reliable data taken directly from an application the client filled out, for example. In many ca... |
Does it make sense to do PCA before carrying out a Random Forest Classification?
I'm dealing with high dimensional text data, and I want to do feature reduction to help avoid the curse of dimensionality, but don't Random Forests already to some sort of dimension reduction?
|
I am applying glm on a data in which most of the values are NAs or blank. For example, in the example data produced below (4 predictors and one response variable), the default glm command will remove 10 rows that contain 'NA' leaving just one row for analysis. This creates serious problem as some of my data that initia... |
My aim relates to the project described here, but I've tried to make this question self-contained.
I'm trying to write the MCMC pseudocode for the following inference problem:
Given two observed independent outcomes $X$ and $Y$, what are the
posterior densities of probabilities $p_{x}$ and $p_{y}$ of obtaining $X$ ... |
I have a nested repeated measures question. I have 20 individuals grouped into 5 families. For each individual I have measurements on subsequent days pre, during, and post-treatment for a total of 6 measurements per individual (on days 1 and 2 pre-treatment, on days 4 and 5 during treatment, and days 7 and 8 post-tre... |
I have a nested model with the following effects
fixed: treatments
random: experiment_date
I used lme() to model the data
mod1 <- lme(N_cells ~treatments-1, random=~1|experiment_date, method='ML')
Then I want to compare all the other treatments to the control (included in
the "treatments" in mod1). After a fair amou... |
I have a naive Bayes classifier with two classes (target and non-target) and distributions for a number of features (the same for both classes).
I know that some features contribute more, or less to the overall classification accuracy.
I can use KL-divergence to measure the information gain from feature distributions... |
I've been trying to teach myself some of the fundamentals of statistics by trying to work through old qualifying exams. Here's a problem:
Suppose $X_1, \ldots, X_n$ are a random sample from a normal distribution with mean $\theta$ and variance $\sigma^2$, where $\sigma^2$ is fixed and $\theta>0$ is a parameter. Find th... |
Had a question on a quiz I chose a (I and III) but the teacher said d.(all the above)
Which of the following statements about residuals are true?
I. The means of the residuals is always zero
II. The regression line for a residual plot is a horizontal line.
III. A definite pattern in the residual plot is an indicat... |
If I want to use some proportion type independent variables in a logistic regression, then what will be the interpretation of the regression coefficients corresponding to those proportion type variables? Will that mean- "The change in log odds for per unit change in the proportions"?
But what will be meant by "per uni... |
Consider the frequentist argument: "I will believe A since not-A makes the data improbable".
Consider the Bayesian argument: "I will believe A since given my beliefs on A and the data generating process, it is more probable than not-A".
Are there any other argument types and how would you construct an argument? (Fiduci... |
Regarding propensity score weighting (IPTW) when doing Cox proportional hazard modeling of time-to-event survival data:
I have prospective registry data where we're interested in looking at treatment effect of a medication that in most cases the patients were already taking at baseline. I'm therefore not sure how to be... |
In Java, I have a set of users, each of which has a Poisson-distributed demand with a known mean:
import org.apache.commons.math3.distribution.PoissonDistribution;
public class User {
private int mean;
private PoissonDistribution dist;
public void setMean(int mean) {
this.mean = mean;
this.poissonDis... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.