instruction stringlengths 9 38.7k |
|---|
I coded the amount of speech that participants used during several tasks and I want to use this information to predict performance on other tasks. I also want to test whether speech on one task is related to speech on another. Specifically, I coded whether or not speech was used on a given trial of a task, and calculat... |
I have a dataset having 252 observations. There are two variables having a defined and known linear relationship. By computation, I found 4 observations do not follow the linear equation, and I conclude the difference is due to data entry errors.
Although those two variables are not used in my regression model, I am st... |
Assume we label both sides of a coin as $x=\{1,2\}$ instead of $\{\text{Heads}, \text{Tails}\}$. We flip the coin 7 times and record frequencies of $f=\{3,4\}$. According to Laplace Rule of Succession (link) the probability of flipping $x=1$ on the next flip is
$$P(X_8=1 \mid X_1,X_2,\dots,X_7)={3+1 \over 7+2} = \frac ... |
I'm trying to understand how the book arrived at the second blue box from the first blue box. I'm thinking that there is some sort of substitution going on based on the pi_c.
|
I am using bagging approach in R to predict average Ozone data. I have a confusion that, can I use bagging method to predict average Ozone? Since it is continuous variable. I read some articles where they applied bagging approach for binary variables (class).
|
I work as a data analyst, primarily in SQL, providing operations data to internal customers. I rarely do statistical analysis.
Recently, internal customers have been coming to me with data from badly designed projects (no control group, no planned methodology, etc) and asking me to do data analysis on their results s... |
To be specific, suppose we have $(n,1)$ random vector $x \sim N(\mu, \Sigma)$ where $\mu$ is $(n,1)$ and $\Sigma$ is $(n,n)$. Define:
\begin{align*}
Y & = x'Ax + b'x + c
\end{align*}
Then what is the following (for $t \in \mathbb{R}$)?
\begin{align*}
E(e^{tY})
\end{align*}
|
Suppose, I expected, before a paired-samples t-test study (n = 40), that the effect size is going to be negative in direction and thus use a half-Caushy prior ranging from (-Inf, 0) over the effect size. Contrary to the expectation, the study finds t = 5 (a pretty large, positive t-value). But why I still get so much s... |
I had 2 different sets of data which I wanted to compare using a boxplot. However the number of samples / entries I have for each of the 2 types differ.
Should I just create a boxplot for both of them even though the counts don't match or should I be performing some kind of random sampling in the data which has a highe... |
I've been learning about endogeneity but after looking around online I've gotten more and more confused about what the definition is.
Most pages say that in a model $y=X\beta+\epsilon$ the definition of endogeneity is $E[X'\epsilon] \neq 0$. But a lot of these same pages say that endogeneity is when $X$ is correlated w... |
I have a couple of questions regarding differences in loading values when using prcomp and principal (from the psych) package to perform PCA
When conducting PCA using prcomp:
pca_results <- prcomp(df, center = TRUE, scale. = TRUE)
pca_results$rotation[,1:5]
I get the following loadings:
PC1 PC2 ... |
I have a model with one particular variable giving me trouble. It is a factor variable with 2 levels, 'ADT' and 'CHD'
Using the predict(model,data, predict.all=TRUE,nodes=TRUE), I traced things as needed.
The row in question of the model (obtained from getTree(model,1))
shows as seen in pic.
According to documentatio... |
I am thinking about one question, the result seems weird, but I could not figure out where I went wrong.
I have two random Bernoulli variables $X$ and $Y$.
$P(Y=1)$
$=P(Y=1, X=1)+P(Y=1,X=0)$
$=P(Y=1|X=1)P(X=1)+P(Y=1|X=0)P(X=0)$
$=P(Y=1|X=1)P(X=1)+P(Y=1|X=0)(1 - P(X=1))$
$=P(Y=1|X=0)+[P(Y=1|X=1)-P(Y=1|X=0)]P(X=1)$
It s... |
I just finished reading this discussion. They argue that PR AUC is better than ROC AUC on imbalanced dataset.
For example, we have 10 samples in test dataset. 9 samples are positive and 1 is negative. We have a terrible model which predicts everything positive. Thus, we will have a metric that TP = 9, FP = 1, TN = 0, ... |
When making a histogram to compare two things say the homerun distances of two baseball players, do you have to use the same numerical scale (range) on the x axisfor each even if their homerun distances do not start at the same distance? and should the bars touch?
|
Suppose I have a sample drawn from a population which is approximately distributed i.i.d. according to the Pareto distribution for values of x greater than X*. Suppose, moreover, that the tail index 1 < α < 2, so the variance is infinite but the mean is finite.
I am interested in the value of the mean of the portion o... |
I read this:
But I'm still not sure if I understand what $\Sigma$ is. Does this mean to take the covariance of the entire data set with all classes mixed in, to take the covariance matrix for one class and assume it's the same for the others (even if it isn't), or to average the covariance matrices for the different c... |
I want to find the determinants of choice of delivery by expecting mothers in India where we have 3 categories:
home
public health facility
and private hospital
For each category, I know the total number of deliveries and aggregated determinants such as female literacy percentage, percentage of villages without hea... |
I have problems understanding a basic quiz about sensitivity and specificity and, probably, with understanding of these basic concepts. The quiz goes:
"Suppose that we have created a machine learning algorithm that predicts whether a link will be clicked with 99% sensitivity and 99% specificity.
The rate the link is c... |
How would one sample observations $T_{ij} = U_i + \varepsilon_{ij}$, where the distribution of $U_i, \varepsilon_{ij}$ are known and mutually independent, condition on the fact that $L_{ij} \le T_{ij} \le R_{ij}$?
I considered trying Gibbs sampling, but the resulting full conditionals don't seem to simplify. Any help a... |
If $Y_{1},Y_{2}, \cdots, Y_{n}$ are independent Binomial random variable with sample size $m$ and different probabilities $p_{i}$ $(i=1,\cdots ,n)$, Could the distribution of $X=\max (Y_{1},Y_{2}, \cdots, Y_{n})$ be an extreme value distribution?
|
New_cust1 <- cbind(New_cust, Prob=predict(fit2, New_cust, type = "response"))
View(New_cust1)
New_cust1$default <- ifelse(New_cust1$Prob>XXX, 1, 0)
sum(New_cust1$default)
|
I am using cross_val_predict to generate cross-validated estimates using Ridge Regression:
reg = linear_model.Ridge(alpha = .5)
pred_r = cross_val_predict(reg, X, y, cv=None)
Based on this, the correlation between the predicted y and the real y is (0.114601783602, 0.00312638915351).
However, when I use RidgeCV inste... |
So I'm experimenting with a feed forward network, I'm trying to learn how to use neural networks, and I'm some what confused when it comes to selecting features, hidden layers and neurons.
I have 2 datasets that I'm playing around with. Both datasets have 113 features where dataset 1 has about 630 datapoints and datas... |
If you have crime statistics, say for 12 months, with a total of x. You divide that number to get, say 13 incidents per month.
Now, assuming that these data follow a Poisson distribution, what I'd like to be able to predict is the likelihood of being a crime victim. However, I'm not sure I am using this data correctly.... |
As a student if traffic engineering/planning I'm a little confused about the use of OLS on count data. I'm currently reading Ortuzar and Willumson's book - Modelling Transport.
We've been assigned to build an OLS model with dependent/independent variables of our choice. In Ortuzar and Willumson's book, an OLS is discu... |
I am trying to understand Maximum likelihood estimation but it looks like I am missing something rather elementary.
suppose we have an iid random sample $X_1, X_2,..., X_n$ for which the probability density function of each $X_i$ is $f(x_i; \theta)$ where $\theta$ is an unknown parameter. Then, the joint probability ... |
When analyzing the results of a VAR model with 12 lags, should i take care for the coefficients of all 12 lags, or should i only look up for the coefficients of the last (12) lag?
|
Is ordinal regression and ordered ordinal logit model the same? I read that there are different types of ordinal regression. How can I understand which type of ordinal regression should I use and analyze in SPSS in a simple way?
|
The number of coins that Mr.X spots when walking to work is poisson random variable with mean 6. Each coin is equally likely to be a penny, a nickel,a dime, or a quarter.Mr.X ignores the pennies but picks up the other coins.
(a) I want to Find the expected amount of money that Mr.X on his way to work.
(b)I want to find... |
With TensorFlow I've successfully built a neural network that recognises MNIST numbers at 99.2% accuracy. The last layer of the network is the softmax layer, which does output percentages. The AdamOptimizer is used for training and cross entropy is used as the error function.
However, I'm not quite satisfied with the r... |
Is it possible to fit a NN given pairs (X, Y), such that NN(X) = Y using maximum-likelihood (ML) and not gradient descent (GD)?
Example:
I have a NN with weights W
I feed it with 10 samples X and get 10 output Y
I add noise e and get new output Y+e
I evaluate Y+e and assign them some weights
How do I perform a weighte... |
I am reading the Deep Learning Book, where there is a section on generalisations of the ReLU (section 6.3.1).
It states:
The second derivative of the rectifying operation is 0 almost everywhere, and the derivative of the rectifying operation is 1 everywhere that the unit is active. This means that the gradient directi... |
Question: What is the most beginner-friendly book for information geometry?
The book:
Amari and Nagaoka, Methods of Information Geometry,
is often mentioned as a reference for information geometry.
However, Amari has also written several other books about the subject, at least two of which also seem like they are o... |
Assume I have two data groups, labeled A and B (each containing e.g. 200 samples and 1 feature), and I want to know if they are different. I could:
a) perform a statistical test (e.g. t-test) to see if they are statistically different.
b) use supervised machine learning (e.g. support vector classifier or random forest... |
I am trying to find out the expression of the CDF of the product of two independent non-central chi distributions (not chi-squared) each with $k=2$ degrees of freedom. As I understand, non-central chi distribution (with k=2) is square root of the sum of squares of two Guassian random variables of different means and va... |
I have a survey of N = 338 responses. If I analize the Age column, I can see that it is more or less normally distributed (mean = 48.2; sd = 14.4).
The histogram + normal curve overlay:
The Q-Q plot:
The density plot + normal curve overlay:
So far, so good.
But when I use a Boolean field Diabetic, and look at the su... |
apologies if this appears too simplistic/poorly worded a question, this is my first time coding in R
I am attempting to fit the LPPL model to a price series in order to test for its predictive power for financial crashes. As I understand the difficulty in fitting the model is due to the number of variables leading to m... |
I'm running a multiple correspondence analysis in R using the FactoMineR package:
mca_fit <- MCA(df, ncp = 7, quali.sup=c(1), na.method="Average")
I'm trying to get loading values for each item, which I do by running the following (as recommended by the FactoMineR website):
sweep(mca_fit$var$coord,2,sqrt(mca_fit$eig[1... |
I am working with very noisy biological data for which I will compare two experimental settings. For each setting I will get a set of measure with a huge variance, sometimes with a skewed distribution, but sometimes not (after log transformation).
If I want to statistically compare my two experimental settings should ... |
Setup
Let $\Sigma_t$ be the time $t$ positive-definite covariance matrix of some $N$-dimensional random vector $X_t$. Denote $\Sigma_t = P_t \Lambda_t P_t$ be the spectral/eigen-decomposition of this covariance matrix. There are $N + {N \choose 2} = N(N+1)/2$ free elements in this matrix. There are $N$ positive eigenva... |
I've a doubt in the application of the exponential smoothing for pure forecasts.
I'm using this type of model in these days, for the automatization of some algorithms. This time i'm working on non-seasonal data, year population, but the fitted value of my models seems shifted in some cases, as in this example:
How can... |
Recently I was comparing the output of LOWESS regressions performed in R (and using Python's statsmodels module) and Stata. I realized that some of the values obtained by Stata seem to be off; specifically, it's the tails that seem to be estimated incorrectly.
I dove into the source code of the R's lowess() function (w... |
I need to generate a high volume of random numbers off a normal distribution curve and sum them.
I use Excel and am aware of the NormInv(Rand(), Mean, SD) method of generating a random number off a curve. I need a way to do it 100,000 plus times - summing all the results together.
Is there a better statistical way I ca... |
I am having some issues in defining a syntax for a repeated measure log regression using the lmer() function from the lme4 package. Some of you were really helpful when I first posted my doubts. However, after reading your answers and some of the links that you kindly posted, I am still struggling. I have 62 particip... |
I am trying to characterize the covariance of a spectrograph's response (a spectrograph measures the intensity of light at many wavelengths, and wavelengths correspond to pixels on a CCD detector). I have many science measurements (spectra) taken with this instrument, from which I am able to isolate pairs (and occasion... |
In graphical models people tend to exploit conditional independence to factorize the likelihood and make the problem simpler. By simpler I mean that the dimension is reduced due to factorization. For example:
Consider 3 random variables $y1,y2$ and $y3$ and consider the graph structure
$$y1 \rightarrow y3 \leftarrow y2... |
One theory holds that the increase in variance over time in a particular measure (let's call it $x$) should be linear.
I've collected a dataset in order to test this claim of the theory. What I've found, however, is that $x$ is almost always very small, but is occasionally quite large. The outliers in my dataset (the... |
After much labor, I've yet to come up with the answer to:
Is it valid to run a ordered logistic regression with a two-level categorical dependent variable?
I'm running a logistic regression on a categorical dependent survey response variable ("Most People Can Be Trusted," vs. "You Cannot Trust Most People), against a ... |
Suppose I have a series of independent, identically distributed random variables $X_1, X_2, ...$, each of which has the exponential distribution with parameter λ.
How can I find the expected value $n$ such that $X_n$ is the first variable with value greater than or equal to some constant Y?
I see that the probability ... |
I'm learning structural equation modeling with R and lavaan package. MPlus (other software for SEM models) can print an output indicating what would the effect if you freed a parameter to be estimated separately for each group.
Is there any way to get this kind of output with lavaan or any other R package for that matt... |
My question is regarding interpreting the output of a Heckman 2SLS.
Background information: I am exploring how institutional investor presence affects investments and firm performance during recessions. Yet, there is a selection issue because institutions may choose to invest in firms which have certain investment str... |
I installed a flow meter on a faucet in one of my school's dorm buildings, with the intention of trying to gather some interesting data on patterns at the faucet. It collects flow readings on the sink, every second.
I have gathered the duration, the amount of water used, and whether they used the hot or cold faucet.
... |
I'm fairly new to the field of ML and I often see in the intro of papers a sentence on how deep networks are hard to train or that it's difficult for the training signal to reach through multiple hidden layers.
Is there some source that actually rigorously explains the problem and analyses the situation and how the cho... |
X has the following CDF
$$
F(x) = \begin{cases} 0 &\text{if } x < 0\\
x/2
&\text{if } 0 < x < 1\\
(x^2 - 1)/6 + (1/2)
&\text{if } 1 < x < 2\\
1 &\text{otherwise}\\
\end{cases}$$
My attempt:
Find the mean of X. So mean = E(x).
$$
E(x) = 0 + \int_{0}^{1}x(x/2)dx + \int_{1}^{2}(x * (x^2-1)/6) + 1/2)... |
Please explain how RNNs support feature learning problem of deep learning or why it does not support it. How about unsupervised learning; Does RNN support that?
|
I have read the term "machine intelligence" in a few places, e.g. https://web.archive.org/web/20170219022131/https://research.google.com/pubs/MachineIntelligence.html:
Research at Google is at the forefront of innovation in Machine Intelligence, with active research exploring virtually all aspects of machine learning,... |
The terms Contrastive Divergence and Importance Sampling are sometimes used interchangeably.
I understand that both are used to approximate partition functions (normalization terms for probabilities) but what, if any, is the difference between them?
|
I'm conducting a hierarchical regression with 3 steps and all continuous IV's and DV's, however my data is showing evidence of heteroscedasticity. Am I able to apply WLS methods to a hierarchical regression to correct the heteroscedasticity?
|
I am looking at logistic regression output that shows Z test values. When can I use these to estimate the significance of coefficients, and when do I need to use a Wald chi-squared test?
|
What is the chance that a leap year will have 53 Sundays?
As per my trial, will it be 2/7? Since 366 days in a leap year means 52 weeks and 2 more days, so from the extra two days, the probability of Sunday is 2/7.
P.S : This was a question I found in a basic statistics book.
|
I would like to show that $\sum e_i\hat{Y}_i$ = 0 with $\hat{Y} = HY$, $H$ - hat matrix and $e$ - the residuals $(I-H)Y$.
So far, I've gotten
$$\sum e_i\hat{Y}_i = e^T \hat{Y} = ((I-H)Y)^T HY$$
but I'm not quite sure if that's even right or how to proceed. Any help would be appreciated.
|
Hello to all my fellow users,
Please recommend me MOOC or youtube series on probability and statistics.
I had signed up in a couple of MOOCs at edx, coursera etc. However, I got confused on which course should be followed.
|
I try to understand the reason authors of this paper use exact fisher's test. They analyse characteristics (intron density) of genes from two datasets, plastid and ancestral and arrive at the conclusion that
"the density of introns in plastid genes ... calculated either per gene ... by comparing the means or the entire... |
In the very simple examples of reinforcement learning (gridworld, mountain car), we use real numbers or some elementary functions as reward functions.
When state spaces become larger and larger, and eventually continuous, the states become harder and computationally expensive to define. So here comes the idea of functi... |
In the paragraph shown here (from "Least Squares Estimation" by S.A. Geer) I don't understand how we convert the least square estimation problem into the equation 4.
Could someone please elaborate?
|
I have a big dataset, and I would to know whether it's better to apply cross-validation or the common split (at example) 70%-15%-15% on training, validation and test set.
More precisely: CV is a good practice only with small dataset, or it could be useful with big dataset too?
|
Chi-Square test presupposes independent observations. My question is why this is the case? More specifically:
What is the statistical rational and the intuition behind this particular requirement?
What is the mathematical logic behind this assumption?
What are the ramifications of the violation of this assumptio... |
In a simulation study, is there any difference between
$\bullet$ estimating the variance $\sigma^2$, $1000$ times and taking its average,
and
$\bullet$ estimating the standard deviation $\sigma$, $1000$ times and taking its average?
Can I do anyone of these? Is there any preference of doing a particular one?
|
I have a data set showing a change in a specific score for a certain group of people over time. I measured the score at 3, 4, 6 and 12 months. Thus, I have the score for each person of the 30 people over these periods. How can I calculate if the change of the mean score from 3 months to 1 year was statistically signifi... |
I'm confused about logistic regression cost function. What if in some test data is bad prediction? Then one of the terms in sum is equal to infinity and sum of anything with one infinity member is equal to infinity. It means, that the cost function is also equal to infinity. Here is the cost function:
I have an idea an... |
I am working on a data with multiple measurements. And I wanted to know if there exists AR correlation. So I created the ACF graph acf(Response,Time) but I don't understand which of the 4 graph that I should look at and how to interpret them.
As long as I know, the blue dash line refers to the 95% confidence limit of c... |
Questions
Does it depend on whether the tree is shallow or deep? Or can we say this irrespective of the depth/levels of the tree?
Why is bias low & variance high? Please explain intuitively and mathematically
|
An example of a commonly used "pathological" continuous distribution is the Cauchy distribution, which is considered to be "pathological" as it has no defined mean or variance. It can be defined as the ratio of two normally distributed random variables with mean 0, or analytically about a point $x_0$ as
$$f(x; x_0,\ga... |
I have a set of problems to analyze from a programming contest. My work is to rate the question according to its difficulty (easy,medium,hard) by analyzing the submission rate,accepted solutions rate and failed solutions rate of the participants. Do I need any more parameters to analyze the difficulty and which algorit... |
New to AI/ML. My understanding of feature scaling is that its a set of techniques used to counteract the effects of different features having different scales/ranges (which then causes models to incorrectly weight them more/less).
The two most common techniques here that I keep reading about are normalization (adjustin... |
I am trying to fit my data for a logistic regression for a decision to be made YES or NO or even 1 or 0. I was wondering if my data is a good fit for this type of regression or should I use another tool. So far by trying the R regression tool I find the propabilites for all test data to be always YES. I might be doing ... |
In chapter 8 of "Matrix Algebra from a Statistician's Perspective", the author describes the construction of an orthogonal matrix, the first row of which is proportional to some row vector of non-zero entries.
Try as I might, I cannot find anything related to this matrix, only the so-called Helmert transformation o... |
I'm working with a normal linear model and know that the normal Q-Q plot is used for a distributional check for the normality assumption in the model. I also know that studentised residuals are plotted against the quantiles.
Here's what I don't understand: the distributional check used says:
"If $Y_{1},...,Y_{n}$ are i... |
Here's the exercise:
and here's the solution:
is this not a mistake?? The exercise says that the two groups are normally distributed. It doesn't say anything about them having the same variance. All the working out done in the question is the typical one that we use when we have two normal samples with different mean... |
I am trying to show that the estimator $\frac{n(k-1)S}{(nk-2)}$ is an inconsistent estimator of $\sigma^2$. I must show that the estimator will converge in probability to $\frac{(k-1)\sigma^2}{k}$.
Note that $S = \sum_{i=1}^{n} \sum_{j=1}^{k}$ $\frac{(X_{ij} - \overline{X}_{i})^{2}}{(n(k-1))}$ where $X_{i1},...,X_{ik}... |
By going through the method in which we reject a null hypothesis: any observed sample mean value which falls in the rejection region; that is when test statistic > Z(1-alpha) (consider > alternate hypothesis). The definition of Power is the probability of getting an extreme (=alpha) or even more than that. I infer that... |
I'm looking for a way to measure, how well one feature lets us predict the value of another.
Let's say we have a car with multiple sensors. Their role is to check whether the upcomming turn is left or right. We're collecting data from all sensors and also from steering wheel. Then we want to choose sensor, based on whi... |
In a regression correlation situation where $r=.2,\ p<0.05$, we can say that there is a weak relationship between the independent and dependent variable (as $r=.2$). Since p-value is significant, we can also mention that the independent var significantly support the predicted response variable. What is the role played ... |
When performing linear regression, why does scipy use Wald Statistic followed by a t-test, as opposed to Wald Statistic followed by a Wald test?
The following code performs linear regression on two random 5-element vectors using scipy:
import scipy.stats
import random
# Draw some random X and Y
sampleSize = 5
X = [ran... |
Here's the thing: I have the concentration of a certain compound measured in each individual. Individuals were sampled on a monthly basis, with varied lucky, some months I caught more than ten, sometimes I caught only two.
Here is a plot showing the data I am dealing with.
What I want to know is if and which months ... |
I would like to know whether the survreg in the newest R (3.3.2) has any bugs.
The survreg in my environment (Windows 10 with R 3.3.2 downloaded today, Feb 19, 2017) might not correctly estimate the effect of a covariate:
require(survival)
n <- 50 # the number of rats
POISON.EFFECT <- 0.08
intercept <- 0.0001
dose <... |
I'm comparing samples X and Y (of sizes M and N respectively). I need to report whether the samples are statistically different (Mann-Whitney U-test) and by how much (Hodges-Lehmann estimator) to people who are not too familiar with statistics.
For reporting the difference between two groups, would it be OK to calcul... |
I have been successfully using Pymc 2.0 for inference in a few fast models. However, I'm trying to set up my first real case inference. I'm using a relatively "heavy" likelihood (it takes ~2 min per evaluation).
I noticed that the number of samples specified in the MCMC sampler do not match with the number of actual mo... |
I'm curious if there has been any work looking at order statistics for a distribution that is the combination of multiple distributions? For example, consider if X is a random such that with probability 1/2 it is drawn from an exponential distribution with λ = 1 and with probability 1/2 it is drawn from an exponential ... |
In the GLM model, a link function is a function of the mean of the response variable. Is it possible to use a function of median instead of a function of the mean of the response in the logit link? I would use a distribution which it’s median is simpler than mean. Could I use median instead of mean?
To model the respo... |
I have a dataset of users' actions online. Let's say that it represents the behavior of users on an online content site - some users visit the site multiple times, some only once. Every observation represents a visit to the site and include the actions taken by that user on that visit. I want to control for the user ID... |
How to interpret the regressors coefficients when the dependent variable is standardized?
|
I fit a model by using fit<-glm(...). Then I perform test to see if I can exclude any variables: drop1(fit, test="Chisq))
I base my conclusion only on the p values that is returned in the drop1 function. If some variable have large PR(>Chi) values, I will let them out of the model.
I do something similar when I am te... |
Can someone please explain how the maxpooling layer is implemented before the conv2 layer in AlexNet? The output of the first conv layer (which is 96 11x11x3 convolution) is 55x55x48 (times 2). Now the paper states that the second conv layer is applied to the output of a maxpooling layer. Assuming the MaxPool is a kern... |
I have some distributions which are only reported by their geometric mean, geometric standard deviation, and their sample size n (all output by closed box scientific software) - is it possible to use this information alone to do a statistical test like a t-test like in the way you can with the arithmetic mean / stdev /... |
I know how to calculate the probability of throwing the same number in every throw of a die, and I know how to calculate the probability of throwing a different number in each throw of a die. But how do I calculate the probability of throwing n different numbers in m throws of a die?
Just to be clear, it doesn't matter... |
I know that by the Bayesian formula p(θ|y) = p(y|θ) x p(θ) / p(y)
and understand that p(θ|y) is the probability of the parameter conditional on the data.
Could I say that this probability p(θ|y) is also conditional on the prior?
If not is there a way to express the posterior conditional on the prior?
|
I would like to determine, whether two products are complementary. I have one year of data (day by day), where I have prices and demands for both products.
Can I use cross elasticity of demand? I guess it's too simple "model". For example I've noticed big variation of demand during a month, which I guess might be relat... |
This question might also be suited to the programming site, but I thought since there is enough on the statistics side, I would use this forum. I am trying to estimate the alpha parameter in a Gamma distribution using maximum likelihood method, and using the optimization functions available in R.
To begin with, I gener... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.