instruction stringlengths 9 38.7k |
|---|
I have a set of predictors with zeroes in over 70% of the observations. These zeroes are actual zeroes and not because of missing information.Should I even try such predictors in my logistic model? If yes, what checks should I do before trying them in the model??
|
I`m working on a problem that involves identyfying same items represented differently, for example "apple iphone 4g black" and "iphone 4g", etc. The data can be very noisy, and items like "iphone 4g black 16gb" and "iphone 4g 8gb" are different. What i have right now is a database of items of store A, that has a string... |
I've run into this issue a few times now, with reviewers requesting more justification for the use of LMMs, traditional tests instead of or in addition to LMMs, and full tables of parameter estimates akin to what you would report with a regular linear model.
Right now my specific issue is a reviewer requesting "A table... |
I was reading Goodfellow, Bengio, and Courville's Deep Learning and in Chapter 20 there is a derivation of the conditional probability $P(h_j=1|\boldsymbol{v})$, the conditional probability of the $j^{th}$ hidden unit being on given a data vector $\boldsymbol{v}$:
Note that $Z'$ is a normalizing constant, and $\tilde{... |
Can someone please explain and derive (algebraically) how if T is a student's t-distribution and X is any arbitrary numerical value; how these two statements are:
$\text{Pr}(T^2 > X^2) = 2\text{Pr}(T>X)$
|
I have a monthly data which includes seasonal and trend components for 5 years ($n=60$).
I did a test the trend of data by using ARIMA.
Does it make sense to convert into annual data ($n=5$) and then test a trend of data by using LSE?
What other methods could I use to test the trend of the data?
|
I have provincial level GDP data for Pakistan from 1970 to 2010-11.
The data estimates are taken from two sources i.e. Sustainable Development Policy Institute (SDPI), Pakistan, and World Bank.
The provincial GDP data from 1970-71 to 1999-00 is based on 1980-81 factor cost (source: SDPI). And the provincial GDP data fr... |
Is it possible for dummy variables in a regression model to take on any value. I added a variable to my model with two variables (one dependent and one independent) and called it a dummy variable that can take on any Integer value > 0. This value also give me some information about my observations. But i was told i can... |
Background: Using a Production Function in form of Autoregressive Regression Model for Regional Perfomance
Hi,
This question is more of a theoretical nature. I have dataset that comprises all data on municipality level (n=290). However, due to data restrictions one variable, "self employment rate" is on county level (... |
I have a basic question about network meta-analysis (NMA). If a comparison between nodes is based completely on direct evidence with no indirect evidence, does that mean that no other interventions are contributing to the result of the comparison in the NMA result? In other words, if A vs B is known to be based on 100%... |
If you have stochastic gradient descent and you want to update the weights $w_t$ with the L2 norm regularization penalty, how is this math done? I am using sklearn for this and am just wondering how the weight $w_m$ is updated according to $l- \lambda||w||_{2}^{2}$. I read through the sklearn docs but they didn't go in... |
In my data water is control and gibberellin is positive control. We want do find the activity of steviol against water and gibberellin. How we do student T-Test?. My data of height of plant in cm is given below.
Water Gibberellin Steviol
Replicate 1 14 23 30
R 2 16 20 ... |
For an assignment we need to run a "least squares dummy variable" regression on a panel data set. We were given that the data contains heteroscedasticity and autocorrelation. Thus, I employed Newey-West standard errors.
My regression is now:
$$Y_{it}=\alpha+\beta_1 X_{it}+...+ p_1D_t+v_{it}$$
I have an dependent variab... |
While building predictive models we often see skewness in the target variable. Then we generally take transformations to make it more normal. We generally do it for linear models and not for tree based models.
This actually means that our distribution is not normal, we are deliberately making it normal for prediction. ... |
I'm new to Named Entity Recognition and I'm having some trouble understanding what/how features are used for this task.
Some papers I've read so far mention features used, but don't really explain them, for example in
Introduction to the CoNLL-2003 Shared Task:Language-Independent Named Entity Recognition, the follow... |
I have a sample that consists of large, medium, and small firms and i want to run a separate regression for each size group. When I winsorize a variable should I do it for the whole sample (i.e. select the variable in the whole sample) or for each size group alone (i.e select the large firm subsample and winsorize it f... |
For a clickstream simulation I require to generate sequences of randomly distributed timestamps.
Each sequence should:
start and end between sim_start and sim_end,
have hit_count number of timestamps
|
Is there a name for the distribution resulting from the sum of outer products of t-distributed random vectors?
Alternatively, is there a matrix-valued distribution with the support of positive definite matrices that exhibits a higher degree of tail dependence than the Wishart distribution?
|
for a clickstream simulation I need to generate a sequence of N client ids, these are defined by Google to be RFC4122 UUID.
These GUID typically look like: "baef6775-eb3a-4ac9-85d3-70e4aa0d9d94"
I found a javascript implementation by
Philippe Sawicki but I cannot understand it or port it to R.
|
I'm wondering how random variables can be analyzed using parametric methods if the distribution is not normal.
For example if a variable Y is normal distributed but I'm interested only on values Y2 which are lower than a certain limit due to agreement.
Can I use the common statistical tools to compute estimatio... |
I need to build a model (M) that converts a 10 dimensional space of inputs (A) into a 20 dimensional space of outputs B.
Both the inputs and outputs are analog, so this is not a classification problem but rather a regression one.
A * M = B
In order to allow some bias I included a last row of 1s in A:
$A = \begin{bmatri... |
I need to find the Quarterly data from the given data.
2014Q4 4993132.965
2015Q1 5140845.555
2015M01 5049003.232
2015M02 5065307.768
2015M03 5140845.555
2015Q2 5277126.34
2015M04 5167891.374
2015M05 5247207.985
2015M06 5277126.34
2015Q3 5319375.997
2015M07 5278779.444
2015M08 5313940.526
2015M09 5319375.997
2015Q4... |
I'm running a small experiment with LASSO regression in R to test if it is able to find a perfect predictor pair. The pair is defined like this: f1 + f2 = outcome
The outcome here is a predetermined vector called 'age'. F1 and f2 are created by taking half of the age vector and setting the rest of the values to 0, for ... |
I've come across this paper
https://uta-ir.tdl.org/uta-ir/bitstream/handle/10106/1827/Sukchotrat_uta_2502D_10083.pdf?sequence=1&isAllowed=y]
where it is described a k-Nearest Neighbors Data Description (kNNDD)-Based Control Chart. (pag 45)
First, the author describes the Local Outlier Factor (LOF) method and then the $... |
Each observation is a distribution of values. Computing the mean $\mu_i$ and standard deviation $\sigma_i$ for each observation $i$ showed that the coefficient of variation (CV) is roughly constant across observations (the Pearson's correlation $r$ between $\{\mu_i\}$ and $\{\sigma_i\}$ is 0.5). Since proportionality b... |
I am interested in theoretical results for the generalization ability of Support Vector Machines, e.g. bounds on the probability of classification error and on the Vapnik-Chervonenkis (VC) dimension of these machines. However, reading through the literature I have had the impression that some similar recurring results ... |
How can I interpret the descriptive statistics of logarithmic transform variables
mean
maximum
minimum
standard deviation
kurtosis
Skewness
?
In case I use log transformed form of the variables in my analysis, do I have the right to use the descriptive statistics of the non transformed variables?
|
I sadly don´t know alot about statistics that´s why I hope you could help me. I´m currently comparing two different configurations of a neural network. My datapoints are the standard deviations of the Neuron activities in the hidden layer after a particular set of inputs. Configuration A has only 3 neurons in the hid... |
I have used Matlab to carry out hierarchical clustering on habitat types. Each habitat has a set of physical characteristics that are quantifiable. Using a set of 50 habitats with 5 variables per habitat, I ran a hierarchical clustering algorithm using Ward's linkage.
This gave me two clusters:One with 22 habitats and ... |
I would like to find out which variables (from a set of 30 binary variables) have the most impact on an ordinal satisfaction measurement (it can reach from 1 - not happy at all to 4 - absolutely happy).
Unfortunately most of the binary independent variables are (highly) correlated.
There are about 20 different shops ... |
For an experiment, I have two groups of participants (one group with pain, one without pain) who are going to perform three tasks. One task is under normal conditions, one task is with overstated visual feedback and one task is with understated visual feedback. I want to compare for each task whether the two groups are... |
I am classifying Portuguese tweets in to three classes, news, noise and relevant. I have used the weka gui to identify a classifying pipeline that gave good results. STWV -> Attribute Selection -> SMOTE -> Random Forest
I have programmed this as follows:
public class TrainBuildClassifier {
public static void main(Stri... |
I would like to use PCA as a method of anomaly detection, however I'm wondering how this is done exactly (I'm using prcomp in R).
I'm really questioning the approach not the R code itself.
Am I right in thinking I first run PCA on a bunch of data to find the lower dimensional subspace representation using the first $k$... |
I'm working with the most recent ACS Census data for New York City. I'm trying to calculate median income for Neighborhood Tabulation Areas (NTAs), which consist of several Census tracts.
The Census provides Median Family Income, Mean Family Income and binned income data, at the tract level - I'm trying to find a way ... |
I have a one sample t-test (against null-hypothesis value 0) for which I would like to calculate the confidence interval on Cohen's d. I know the formula for Cohen's d (sample mean minus zero all divided by the sd). I know how to get the 95% CI for the mean, so I suppose I can plug the limits of this interval into that... |
I have a panel data with unbalanced panel. I am testing a non-linear relationship. I tested a polynomial(quadratic) model for this purpose with following codes in stata.
xtreg y x x2 z, fe vce(cluster id)
z is a vector of control variables. I want to test if the polynomial model is better than a linear one by omitt... |
I am working on my data including the insect abundance in dependence of landscape variables with a nested random effect.
Since i collected the individuals in the field i have count data and thought a poisson distribution would fit best (using lme4).
Currently my model looks like this example glmer(insects~landscape1*l... |
I have a large sample of experimental observations for different categories (specifically, the runtime of an algorithm in different scenarios). I want to plot the mean runtime for each category/scenario and also show the 95% confidence interval using R.
According to the central limit theorem, the mean of each category ... |
Consider a market basket analysis:
Among a certain number of transactions two items sometimes occur together. For simplicity let's assume they always occur together, but not in all transactions.
Now these two items occur together exactly the same number of times and again always together, but among much larger number... |
I'm using random search for hyper-parameter optimization of a machine learning pipeline. For example, for the C and gamma parameter it is recommended to use logarithmically spaced values. Why should I use such values? For example, if I use logarithmic spaced values from $2^{-5}$ to $2^{15}$, then there will be many mo... |
I've fitted a binomial GLM, which returns the summary table shown below. What could be the reason that the estimated value of the predictor spikeCountj2m4 has such a large standard error, compared to the other predictors? (highlighted by a red circle in the table below).
See also the contingency table of the response ... |
I have the next code (and question):
import numpy as np
import sklearn.metrics as skl
import statsmodels.api as sm
import matplotlib.pyplot as plt
x = [30, 28, 32, 25, 25, 25, 22, 24, 35, 40]
y_true = [25, 30.5, 28.61, 38.87, 25.11, 26.08, 22.13, 25.31, 35.32, 36.22]
model = sm.OLS(y_true, x) # simple regression (univa... |
I would like to perform factor analysis to identify latent variables and create indices from my data set that has 144 variables (mostly ordinal) all together.
Before doing so I would like impute my missing data however I cannot do this for the entire data set without reducing the number of variables in it first (error ... |
Let $F$ be a function on the set $\{0,1\}^n$ of $n$-bit vectors. Let $H_F$ be the entropy (in bits) of the source $F(x)$ where $x$ is uniformly random. That is
$$\begin{align*}
H_F&=\sum_{y\in F(\{0,1\}^n)}-\operatorname{Prob}(F(x)=y)\;\log_2\big(\operatorname{Prob}(F(x)=y)\big)\\
\\
& = n-{1\over2^n}\;\sum_{y\in F(\{0... |
Been reading some introductory text on statistical modelling and in particular the concepts of reducible and irreducible errors.
As I understand it, reducible error is the bit we can have any hope of minimising by fitting better models or making our models richer by capturing more of the underlying phenomenon.
The thin... |
The following code shows a toy example for linear regression. I made almost identical columns and plug into linear model.
If we look at the significant code of the p value, I feel counter intuitive that if we use two significant variables but correlated, then both of them became not significant.
what is the reason (th... |
Let's say I construct a series of bundles of different sizes, containing different items, like:
Bundle 1 Bundle 2 Bundle 3
Item A Item A Item D
Item B Item D Item C
Item C Item E Item F
Item F
And so on. Each bundle has a "value". For the sake of this example,... |
Problem: I have to generate in R a synthetic dataset which contains three different variables that didn't follow any known distribution.
What I did until now: Grouping historical values of each distributions in Markov chains, I was able to generate synthetical data that are quite good for my purpose if I evaluate each... |
I calculated an index using factor analysis from a survey data set. What I did is, I used exploratory factor analysis (PCA method) and derive 6 factors after varimax rotation. Now, using the factor scores of the 6 factors I calculated the index by summing up the factors multiplied by its weight:
index = weight1*factor1... |
I have a 2D field of an Eulerian scalar and I'm looking for a statistical index to quantify how clustered or grouped the field is.
Consider the figure below for example (which is not mine, since I can't disclose my data; I got it from google):
If I do the mean or standard deviation on all 3 pictures, the result might ... |
Beside of the easy interpretation, F1 measure is very sensible to the relative frequency between positives and negatives. ROC AUC metric don't, but it is difficult to optimize. Are there any special reason why nobody (or very few people) use any kind of mean between true negative rate and recall?
For example the harmon... |
I have fitted two different binomial logistic regression models A and B. Model A contains only one predictor variable. Model B contains a different set of predictor variables, none of which is the predictor included in model A. There is a notable degree of multicollinearity between the predictors in model B. I want to ... |
I measured electrophysiological signals at two different conditions, baseline and effect. At each condition I sampled 10 signals, because there is a variance in amplitude due to uncontrolable factors (temperature fluctuation, flow variation, interference, local charge shifts ...).
I repeated this experiment with differ... |
I am working on a genomics project, that contains a dataset of ~100 cells (that contains 8 classes of cells) and ~20,000 genes. I am interested in trying to find out what genes are influential in classifying the 8 cell types, but am challenged by the curse of dimensionality.
After doing some research, it seems that res... |
I'm using a neural network to control the movement of a character in a game. I've currently got a huge amount of dimensions and in the interest of trimming them to improve storage and code manageability, I'm considering removing all derived variables i.e. any variable which can be calculated from data already sent int... |
I want to use a few different methods to create different probability density functions. These pdfs change over time as different data is used (rolling historical window used as training data). I want to find out which method has produced PDFs that most consistently represented the final outcomes. Is there a general me... |
I am currently trying to formulate an empirical design that works as follows. In a first step I regress a variable $y_t$ on another variable $x_{t-1}$ and controls $Z_t$:
$$
y_t=\beta_1 x_{t-1}+Z_t\gamma+\varepsilon_t.
$$
Then I test for Granger causality. I estimate these either in rolling window or with time-varying ... |
Suppose dependent variable has more than two possible discrete outcomes. I wonder what is the difference between fitting a multinomial logistic regression model and several pairwise binary logistic regression models?
Do they return the p-values of coefficients?
# ------- Edit.
I did a comparison between multinational... |
I am trying to model data which look like this:
You can think of it as the demand for a solvent in a chemical process (Y axis) in time (X axis). The plot above is only a short slice of the data, in reality the process would last indefinitely. I imagine the data could be generated as follows:
import numpy as np
def pi... |
I have a data set with n=199 observations and p=149 variables. I've tried to fit a lasso regression for reducing the number of variables in a logistic regression, but when i used it, I got that the best model have 0 variables. I don't know if my variables need to be standarized, or maybe my data set is too small.
My co... |
Suppose we have a function $y=x^2+\epsilon$ where the noise term $\epsilon$ is iid with mean $0$, from this function we sample two tuples
$$(x_1,y_1),(x_2,y_2)$$
Assume that to get these tuples we randomly sample an $x$ and then plug in $y=f(x)=x^2$.
$x_1$ and $x_2$ are independent since they are sampled randomly. Also... |
I see people doing class balancing (via oversampling, etc.) before learning classifiers all the time. I wanted to know why does class balancing improve classification accuracy. Is it true all the time. If so, is it true for all classification tasks. I was trying to find some theory paper to justify this but couldn't fi... |
There is a model which is based on N factors which are correlated through a correlation matrix of size NxN. For a subset of M factors the corresponding values are explicitly given over a specific time period [A,B].
Which methods are recommended to obtain the most appropriate "missing" values for remaining N-M factors o... |
When I try to plot graphs using ggplot, the graph does not appear on screen (as it would, say, for qplot). Instead, one of a few things happens. A blank white screen appears, a screen containing the axes labels and nothing else appears, or other various nonsensical combinations of data, axes, and labels appears.
Usuall... |
I'm trying to implement in R the score test for Simultaneous Marginal Homogeneity with GEE as described in section 2.2 of Multivariate Extensions of McNemar’s Test - Klingenberg & Agresti [2006]
The authors provide a reference implementation in SAS here (the first entry): http://lanfiles.williams.edu/~bklingen/sascode.... |
It seems to be a common practical problem but I didn't find lots of information how to solve it. I want to predict rare events (1x/month) (e.g. a machine breaks) based on sensor data (~100 variables) with a sampling rate of 1 minute. My goal is to predict the machine failure as long as possible before (e.g. 1h-6h) with... |
...to a layman?
So, what is SD?
Taken from the abstract of this article:
Abstract. The method of stochastic discrimination (SD) introduced by Klein- berg ([6], [7]) is a new method in pattern recognition. It works by producing weak classifiers and then combining them via the Central Limit Theorem to form a strong class... |
I am trying to do SVD by hand:
m<-matrix(c(1,0,1,2,1,1,1,0,0),byrow=TRUE,nrow=3)
U=eigen(m%*%t(m))$vector
V=eigen(t(m)%*%m)$vector
D=sqrt(diag(eigen(m%*%t(m))$values))
U1=svd(m)$u
V1=svd(m)$v
D1=diag(svd(m)$d)
U1%*%D1%*%t(V1)
U%*%D%*%t(V)
But the last line does not return m back. Why? It seems to has something to d... |
Im building two models, (model1 and model2)
I trained and tested them on the same test dataset,
model1 will have mean absolute error (MAE) 10.3, rooted mean squared error (rMSE) 30.1
model2 will have mean absolute error (MAE) 11.8, rooted mean squared error (rMSE) 29.5
Can any one help me to explain why one model is b... |
I have for some some time tried to understand how this hidden markov model (hmm) works, and have found a lot of tutorials/papers on it which make use of the same examples/principles of explaining the concept.
As far i've understood is the hidden part in hmm due to one not knowing what state you are in. It could be tha... |
I am given a question as follows:
A fair coin is tossed 3 times. Let A be the number of heads and let B be the number of tails.
I am asked to find the joint probability distribution of A and B.
So I know for A and B, there are 4 possible outcomes each. A=0,1,2,3 and B=0,1,2,3. So in total there are 16 possible outcome... |
I kind of understand the meaning of conjugate to something but can't really get the clear picture of the concept. Some video lectures on youtube talk about it but they all seem to just say "Normal Distribution is conjugate to Normal" but for me to understand, it wasn't enough to get it. Hope to hear with least mathemat... |
This seems like a common problem but I cannot find a solution.
I have a set of binary observations and two different models, each with predictions for each observation. I want to compare the calibration of the models.
There are several approaches to comparing the discrimination of these models (i.e. see the roc.test i... |
I’d like to simulate sets of correlated random variates $X_1, X_2, \dots, X_N$ given an $N \times N$ correlation matrix, where each of the $X$'s comes from the same positively skewed distribution. What’s a technique for doing this?
As an example, how would I simulate pairs ($X_1, X_2$) where $X$ follows a lognormal di... |
Given
Two univariate Gaussian distributions with unit variance and means and separated by distance 'dx', from which samples of size N are drawn from each distribution.
Find
the minimum value of dx such that on ~300 repeated tests using Ward's clustering with Euclidean distance, and the cubic cluster criterion there is ... |
I am estimating an exponential random graph model considering the following configurations:
edges
2-stars
3-stars, and
triangles
However, my edges parameter is estimated to be a negative value, while all other parameters have positive estimates. What is the interpretation of such a result? Can it be interpreted as t... |
Suppose $X\sim N_p(\mu,\Sigma)$ . $A$ is a $p\times p$ symmetric matrix . $Q$ is defined as $Q=X^TAX$. Also $Y$ be defined as $Y=X-\mu$.
Show that $Var(Q)=2\ tr(A\Sigma A\Sigma)+4\mu^TA\Sigma A\mu$
Can someone help ? Should spectral decomposition of $A$ into eigen-values and eigenvectors be of any help?..
(I first tr... |
I have a sample of non-repeating numbers 45...18024. The numbers are supposed to be distributed in a random order. How can I check the strength of randomization? Which tests in SPSS can I use to ensure their randomness?
|
What is the distribution of $\frac{X_{1}}{X_{1}^{2}+X_{2}^{2}}$ when $(X_1,X_2)$ has a bivariate normal distribution?
|
I am an interested in looking at panel data on mothers, their husbands and their grandparents to determine the effect of the economic shock of the recession.
I plan to fit fixed-effect models in order to control for fixed individual differences.
Any insights you could provide on this would be great!
|
This is likely a simple question (since it is from an introductory course) yet I'm getting myself in a muddle here:
Suppose I used the Naive Bayes classifier on 5000 instances (each instance only has two classes: yes or no). Also, suppose there actually exists 250 yes instances, and 4750 no instances. Suppose further t... |
I'm not used to that kind of p-value form as I don't know how to interpret it...
It's usually shown a p-value with stars (significant codes) on its sides
Can anyone help? How to read if the variable significant or not...?
|
A neural network is a several linear transormations $L_1,\ldots, L_m$ that are sequentialy appilied to feature vector $X$. A compositon of linear transformations is a linear transformation. So after all we get $L X$ where $L$ is a composition of $L_1,\ldots, L_m$.
The question is: if eventually we have that neural net... |
I used PCA to reduce the features of 1020 vector size into desired length like 32, 64, 128 etc.
Now I want to make LDA dimensionality reduction to compare them.
I'm stuck now can't figure out how do I reduce into desired feature vector length the original data set using LDA. (I want it to reduce it to 32, 64 etc).
I'... |
Does anyone have a reference that can be cited where it is stated to retain the number of principal components needed to explain 90% of total variance?
|
I'm working with drug A and its derivatives (7 derivatives of A). My hypothesis is that brain uptake of A derivatives is better than A. I'm using one-way ANOVA followed by Dunnett's test. Four of A derivatives however showed lower brain uptake than A so I proposed that they might be substrate for an efflux pump. So I ... |
I have a data set representing the abundance of a protein in a population of cells. Based on our understanding of the biology behind this, I expect there to be two subpopulations - one in which this protein is abundant and one in which it is not. The observed data seem to fit this hypothesis well, and certainly look bi... |
I am trying to prove myself that stepwise method should not be used. Indeed we are often modeling data likewise at my work.
I have recently bought the very interesting book of Frank Harrell (Regression Modeling Strategies). In section 4.3 Variable selection he states the following:
But using $Y$ to compute $P$-values... |
I am fitting data using p-splines. The authors of p-splines, Eilers and Marx, remark that there is no technical requirement to have a small number of knots and in fact you can have many more knots than data points without worry. However, I notice that the matrix I'm inverting has an extreme condition number when the nu... |
Below is an equation for a least squares predicted value:
$$\sum_{i=0}^n X_{ij}\beta_j=y_i\space\space \text{for}\space\space j={1...m}$$
$\beta$ is the parameter we seek to minimize for least squares, and my regression is along 3 dimensions, therefore $m=3$.
In my work if I observe the minimum values of $\beta_1\appro... |
I read in many places that k-means clustering algorithm does not perform well when dealing with multidimensional binary data (so vectors whose entries are zero or one).
Intuitively, it is pretty easy to understand why: in a 1000 dimensional space, all the points have a similar distance, and k-means is a distance based... |
My time series data are separately by hourly. The length of time series is 1005 days. The start day is 2/04/2014 and the end day is 31/12/2016. I’m using R (3.1.1). I’d like to know the value of the “frequency” argument in the ts() function in R, for annual, seasons and month. Since most of the examples and cases I’ve ... |
Assume I have public healthcare data that was gathered through a "complex" survey design and has "weightings" for an observation's likelihood.
It seems many R & Python libraries don't support complex survey design analysis, minus this package in R.
If I want to use other libraries and frameworks, can I draw a simple r... |
I am wondering why Quadratic Program in SVM gives inversion error when I take $\lambda$ to be really small. $\lambda$ is really only changing the upper bound for the argument so I do not see how an inversion error would arise.
I used ipop in kernlab and solve.QP in quadprog.
If anything, a smaller $\lambda$ should mak... |
Suppose I have a sample of observations $y = (y_1,y_2, ... ,y_n)$ is drawn from a normal distribution $N(\mu,\sigma^2)$. We are assuming a non-informative prior on $(\mu,\log\sigma)$ i.e; $f(\mu,\sigma^2) \propto 1/\sigma^2$. We have to find the posterior distribution $f(\mu,\sigma^2|y)$.
Let's work it out.
\begin{al... |
Suppose you're doing time series forecasting where you have no knowledge what the dominant seasonality is likely to be, and you don't know other characteristics of the data that help you choose appropriate algorithms and configure them suitably. Perhaps you only have a small amount of historical data to infer from, or ... |
If a random variable X follows t-distribution with n degrees of freedom, then what is the probability distribution of X^2?
|
Call:
glm(formula = cbind(yes, no) ~ Defendant + Victim, family = binomial())
Deviance Residuals:
1 2 3 4
-0.1269 0.6778 0.1752 -0.2136
Coefficients:
Estimate Std. Error z value Pr(>|z|)
(Intercept) -2.6943 0.3913 -6.885 5.76e-12 ***
DefendantWhite -0.... |
I'm having a hard time understanding a passage from a famous paper, namely
Walker, A. M. “On the Asymptotic Behaviour of Posterior Distributions.” Journal of the Royal Statistical Society. Series B (Methodological), vol. 31, no. 1, 1969, pp. 80–88. link
Between formulas (7) and (8), there is a passage where the author... |
I conducted an experiment where I measured A. cepa growth over time under different conditions. I aimed to determine to what extent caffeine concentration affected growth over time.
I have 8 data sets, one for each caffeine level (0 - 700 mg) over a period of 1 week. (7 points per data set.) What test should I use? I'v... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.