instruction stringlengths 9 38.7k |
|---|
I'm trying to understand how the Gibbs sampling algorithm works. I've simplified it into a bivariate case to help my understanding but I'm unsure how to go from conditioning on $X^{t-1},Y^{t-1},X^t$ to $Y^{t-1},X^t$.
Lets say we want to sample from $f_{X,Y}$ but we only have access to $f_{X|Y}$ and $f_{Y|X}$.
We cons... |
I have a test I am interested in further investigating for diagnostic purposes. The test involves 6 trials, giving a mean result and variance for each person. What we have found through Mann-Whitney testing is that the variance, not the mean, is significantly higher in a diseased population (n=29) than the healthy popu... |
I am working on an epidemic analysis on a known blood disease. My outcome variables are two, lets call them A and B. I have already two income variables lets call them c and d, that have been proved to significantly affect A and B and their ratio A/B (also B/A). We want to analyse the effect of a new variable, lets cal... |
I am trying to estimate a zero-inflated negative binomial model with 11 predictor variables and the number of reported crimes as a response variable. The model seems to work OK, but I'm uncertain on how to interpret the results. Below is my model and the results:
#estimate zero-inflated NB model
zinf.nbi <- zeroinfl(C... |
I have some data I've collected. Here are the relevant characteristics:
Question: 'What strategic priorities is your company pursuing over the next 18 to 36 months?'
Survey takers choose from a number of answers such as 'improving employee engagement' or 'expanding into new markets'.
Question:'What leadership competen... |
I want know how to add a constraint to Q-learning. I have an action resulting in two rewards every time (reward 1= delivery cost , reward 2= delivery time). I want to minimize the cost while ensuring max delivery time limit is not violated. Is there a standard/formalized way to do this?
|
I am trying to find an intuition on why we require that kernels are positive semi definite and I have found this:
We are given a dataset $X$ of size $n \times d$ where $n$ is the number of samples and $d$ is the number of features. If we want to express all the inner products between each data point in a matrix we can ... |
I am pretty new to machine learning and data analysis in general. I have been learning about different algorithms as part of my course. Now, I am stuck with a particular problem. I have been given a dataset which has 52 variables (columns) and 500 observations (rows). The task is to classify the data into normal, overl... |
I have two measurements of a quantity from two different sensors, each with their own variance based on the sensors' specifications, etc. From collecting a lot of training data, I have access to the joint distribution of measurements from the two sensors.
When I collect a new measurement, I would like to estimate both... |
Specifically, I would like to estimate a model that includes, on the RHS:
Individual and time fixed effects
A set of variables that may or may not be included
I would like to keep the coefficients on the fixed effects 'unrestricted', so basically as estimated with OLS ($\lambda = 0$).
I am not aware of a formalised... |
How to construct a data set in three dimensional space, containing five classes (small overlapping is allowed but not advisable) clusters such that only two dimensions possess significant discriminatory power?
|
I have a question regarding forecasting with my ARIMA model. Let's say we have found ARIMA(1,1,1) as the best model based on AIC or BIC.
Now, if I want to estimate the value of (t+1) I can substitute in the equation the values of y(0) and e(0). Ok, so I would like to predice now for the horizon t=2. What can I do with ... |
I am fitting the following model using the "brms" package in R:
prior<-c(set_prior("cauchy(0, 2.5)",class = "b", coef = ""),
set_prior("cauchy(0, 10)", class = "Intercept", coef = ""))
m1<-brm(DV~IV1*IV2*IV3+(1+IV1*IV2*IV3|Subject)+(1+IV3|Nonword),data=data,
family="bernoulli", prior = prior, warmup = 1000, iter = 2... |
As an exercise, I am calculating an OLS regression on time series data. I would like to compare the slope from the regression (trend) to a value I specify. For example, if I take a time series of temperature, I would like to compare the trend of this data, to say the global average temperature trend. I am a bit new to ... |
I am reading A note on the evidence and Bayesian Occam’s razor paper on model selection.
In page 3 it is mentioned that a prior $\mathcal{N}(0, 10^2)$ is used for each parameter $w_i$ of each model. The author goes on to mention that such a large variance makes our models put most of their mass on settings with sharp ... |
I'm trying to calculate the log odds of unemployment (1 = employed, 0 = unemployed) based on the age and education (1 = university-educated, 0 = not university-educated) of a sample based on these coefficients:
(Intercept) -3.20
age 0.08
uni_educated 0.33
I understand how this works using jus... |
In the example below the the covariance is stated as 774.48. The formula is Σ(xi-xavg)(yi-yavg)/(n-1}.
Sci A (X) AT&T(Y)
% %
1989 80.95% 58.26
1990 -47.37% -33.79
1991 31.00% 29.88
1992 132.44% 30.35
1993 32.02% 2.94
1994 25.37% -4.29
1995 -28... |
I have the response variable that is an abundance matrix Y. for example, I have four columns with
species 1
species 2
species 3
and species 4
abundances at each location (each location is separate row).
I have a matrix X which include a set of environmental parameters (e.g. Temperature and salinity).
I need to pr... |
Let's say that you have a two valued deck of N = 53 cards. Win and lose are the only values and we know that #win = 26 and #lose = 27. To play, we pay 1 unit of value. We draw one card at a time, but can't look at it. After a fix, but short, amount of time, the card is revealed to be either win or lose and then discard... |
I'm trying to cluster a dataset based on 190 diabetic patients and 20 columns (features of patients) and many of these features have most zeros (to understand better, the median of 8 of 20 features is 0), with non-normal distribution.
The steps I've followed are:
extraction feature
z-standardization of the variables
a... |
A company wishes to test a the effect of a marketing promotion on sales. The historical procedure is "pre-post net of control" (PPNOC). Sales data is taken before a test from a test group and a control group, then sales data is taken after the test. The net of control is then calculated to be the percent increase or de... |
I am doing multi-regression in one of my projects. The input design matrix $X$ has correlated columns. Nevertheless, there are a few 'good' predictors in $X$: if I fit only the good predictors, one-by-one, doing OLS, I can see good prediction result for each individual of them.
However, when I put together all the 20 c... |
I have some questions about best practices in information retrieval (unsupervised) vs learning to rank evaluation.
How necessary in a train-validation-test or cross-validation scenario? is it usually considered? why/why not?
a) train and validation (indexed) documents are disjoint: no document is indexed in train AND ... |
I have found this in regards to transforming to specific mean and maximum, but I need to specify a minimum as well. Is there a way to do so?
I believe it will be a more complicated solution similar to what's proposed here, but I haven't found in this second link a solution to what I need.
Thanks in advance!
|
The Pearson correlation coefficient is a cosine between two vectors. That's easy to understand but what happens when instead we look at the correlation between two matrices through the RV coefficient?
I get the math that goes on but intuitively what is the similarity that is being measured? I thought it would be someth... |
I'm trying to understand intuitively a one-tailed test on Fisher's exact test.
Let's say I have the voting record of Republicans (1) and Democrats (2) on gun legislation. This is the information given:
progun antigun
1 3 1
2 1 3
`fisher.test(data.frame(progun,antigun)... |
Can we use the "predict" function for a gee model? I know from the gee model we can use "fitted.values" to get the predicted values for the data used to build the model. However, I want to use the gee regression results to generate predicted values for a test data.
data(warpbreaks)
smp_size <- floor(0.75 * nrow(warpbr... |
I have a dataset of dimensions 1500x200 where the predictors are both quantitative (discrete and continuous), as well as qualitative (categorical and ordinal) and the dependent variable is continuous. I've also performed standardization on these features.
I'm learning about PCA and visualization of PCA using biplots, a... |
First I ran the outlier test with data as is:
outlier <- lm(Y~. , data=train))
outlierTest:
outlierTest(outlier, cutoff=0.05, digits = 1)
Result is as follows
rstudent unadjusted p-value Bonferonni p
4904 4.792999 1.6909e-06 0.0084478
367 4.633191 3.6926e-06 0.0184480
So I tried to remove... |
When trying to determine population variance from sample variance, it must be corrected by multiplying by:
$$
\frac{n}{n-1}
$$
and this is often explained intuitively as being because the mean of the sample is closer to the actual values of the sample than the mean of the population is.
From this explanation it would s... |
I'm trying to run CCA over two views which are sparse matrices. The two views are very high dimensional (e.g. 300k, 400k) with 1m samples.
CCA needs the input views to be zero mean but I won't be able to do that on the views because it will densify the matrices.
Is there a solution to this problem?
Note: currently I'm ... |
Overview: I'm trying to design a change-point detection system for univariate, non-normal, skewed, heavy-tailed data that I believe is generated by a stable random process (i.e. stable-distributed with typical $\alpha \in (0.6,2]$, $ \beta = 1, -1$ for my data samples.)
Question: Is there are theoretically rigorous way... |
Let $Y$ denote log-earnings and $X$ denote years of completed schooling for a cohort of workers. Assume a random sample of size $N$ is available from this population. Let $D_x = 1$ if $X = x$ and $0$ otherwise. Assume that $X \in \{0, 1, \cdots, 16\}$ with positive probability attached to each support point. Let $\math... |
Multicollinear and multicolinear both appear to be used in scientific literature, although the former appears to be a lot more popular and is also the name of the tag here. I figured there must be a single spelling of colinear/collinear which is more correct, but that is also spelled both ways.
Two questions about this... |
I have data points located at $\mathbf{x}_i$ and I would like to a find quick and dirty way to calculate their probability of occurring (not the pdf) using kernel density estimation. Formally speaking, I know I must take the definite integral within the neighborhood of the points to get an actual probability. But that ... |
I am attempting to create a regression model that would best predict the revenue.
Year GDP_Ind K_Calls K_Employees K_Items Revenue_USDM
1 100 25 45 11 2000
2 112 27 53 11 2400
3 115 22 ... |
I am trying to understand the re-formulation of mutual information between time series presented in Galka et al.
They note "If the data is given as a pair of time series $x_t$ and $y_t$, $t = 1, . . . ,N$, the assumption of independent sampling will typically be invalid since most time series display serial correlati... |
Does there exist a method can generally oversample training data?
As I know, when we want to oversample a training dataset, we need to have some basic understanding about features being used. Take processing images as an example, if we want to oversample an image, we can add noises on it, rotate it, or resize it. We ca... |
I am a student researcher with a very large array of time series data of about 100,000 variables over 7,000 time steps. I suspect that many of these variables naturally derive from functional clusters and would like to compute these clusters. Unfortunately, I'm at a loss for how to cluster this amount of data reasonabl... |
I have a common Bayesian Networks example
I need to estimate probablity of JohnCalls given MaryCalls.
Other words I need to find
$P(JohnCalls = True|MaryCalls=True)$
From product rule, I know that
$P(JohnCalls = True|MaryCalls=True) = \dfrac{P(JohnCalls, True|MaryCalls=True)}{P(MaryCalls=True)} $
But how can I calc... |
I'm struggling to intuitively understand parameter estimation.
Specifically, why do we say that a parameter is identified if it is determined by the probability distributions of observables? e.g. we say that in the linear model $y=X\beta +u$ is identified by $\beta= E(X^TX)^{-1}E(X^Ty)$.
Why don't we say that the param... |
I have points in a plane and I want to fit a circle to these points. Is there a 'regression-type' to these points, somewhat akin to linear regression, with a corresponding $R^2$ value? Your insights please.
|
This question is about the apparent implicit regularization that is observed when training a linear model using SGD. I describe my understanding in the hope that someone can point out what I'm missing.
In Section 5 of Understanding Deep Learning Requires Rethinking Generalization, we are given the problem of fitting a ... |
In general, for a regression $y=X\beta+\varepsilon$ with an $n\times k$ matrix $X$ ($n>k$), the rank of the projection matrix $P=X\left(X^\top X\right)^{-1}X^\top$ is $k$, but is the rank (not the trace) of the annihilator matrix $M=I-P$ always $n-k$?
|
How can we apply central limit theorem to this question, since X and Y are related?
I'm doing a revision paper and think there might be something wrong with my approach.
I tried using
T_bar=(200X+200Y)/200
E(T_bar)=25+12=37
Var(T_bar)=1/200^2 * (200(Var(x))+200 Var((y))+200 cov(x,y))
|
What is the probability that 4 out of 181 and 55 out of 181 belong to the same distribution? Which distribution will give the best fit?
Assume you have, say, a manufacturing process from which you draw 181 samples. The percentage of failures is not known. If you get 4 failures out of the 181 samples at one time and 55 ... |
I am trying to calculate the prediction interval for the predicted probability for a new subject using a logistic regression, and I wonder if we can use the same formulas that is used for linear regression and to calculate the predicted interval for the linear predictors and transform it to the probability scale. I tri... |
If we have a linear regression model $y=X\beta + e$, then $E(y)=E(X\beta)+E(e)=E(X)\beta + 0$
Therefore $$E(X)\beta = E(y)$$
Doesn't this pinpoint the value of $\beta$, assuming that the sample size $n$ is larger than the amount of explanatory variables $k$ in $X$?
Hence $\beta$ is always identifiable (every probabilit... |
Having just completed my Bachelor with a major in math and physics, I am aware that due to my chosen specialisation, I lack a good training and exposure in statistics beyond the first year.
Could anyone recommend a good book on statistics where the author uses Wolfram Mathematica as a computational tool?
|
I've been working on estimating the population median of a variable with a complex distribution that is not easily characterized as a parameterized probability distribution. So far, the best I have come up with has been obtaining confidence intervals with bootstrapping.
How could I calculate a credible interval instead... |
My data has three kinds of features, with different distributions and ranges, and I am going to use RNN to model such data. In the process of normalization, my initial thoughts are:
compute z-score for features with normal distribution.
min-max scale non normal features into range [-1,+1] (align with the output of re... |
In my experiment, I follow up 3 different groups of embryos for 12 timepoints. Each group has about a 100 embryos and I calculate the frequency (continuous variable) for each and tabulate the data for each timepoint, each group as average and SD. I want to compare for significant differences in the frequencies among th... |
Consider a multivariate logistic-normal variable $z \sim \mathcal {LN}(\mu,{\Sigma})$, where ${\Sigma}$ is and $n$-by-$n$ positive definite matrix. I mean,
for $x = (x_1,\ldots,x_n)\sim \mathcal N(\mu,\Sigma)$ define the vector
$z = (z_1,...,z_n, z_{n+1})$ by
$$z_j = \dfrac{\exp(x_j)}{\sum_{l=1}^{n+1} \exp(x_l)},
$$ wi... |
Hey I read into dependent vs. independent samples but can't figure out what they are in my case. So I'll describe briefly what my samples are, and how I derived them.
I have measured 4 muscles on 20 subject. For each muscle I have one parameter:
muscle1 muscle2 muscle3 muscle4
subject1 1.2 ... |
Let $D_{i}(\Sigma)$ be some distribution with $\Sigma$ being it's parameter. Let $X|\theta \sim D_{1}(\theta)$ , $\theta|\phi \sim D_{2}(\phi)$ . Can we say that $P(X|\theta,\phi)=P(X|\theta)$ because $\theta$ after all depends on $\phi$ ?
|
I am trying to deal with a regression model estimating a fold change in price of a drug given different explanatory variables (strength, formulation, country, etc..).
My data has quite a lot of zeroes (meaning no fold change) and is bounded between -1 and infinity (potentially).
Would the fact that the data is not norm... |
What would be the expected value of distances to the nearest neighbor in a set of points in 2-dim space that have a clustered (not random) spatial distribution? If the distribution is random the expected value would be: 0.5/sqrt(lambda), where lambda is the density of points.
I've read that a Poisson distribution whic... |
Below is a symmetric matrix $A$ with distances between observation $i$ and $j$.
$$
\begin{matrix}
0 & 9 & 8 & 6 & 3\\
9 & 0 & 1 & 7 & 8\\
8 & 1 & 0 & 6 & 9\\
6 & 7 & 6 & 0 & 7\\
3 & 8 & 9 & 7 & 0\\
\end{matrix}
$$
My goal is to assign these into separate groups/clusters such the distance between observations within th... |
I am modelling a process evolving over time using GAMs. There is some theory that says that the time evolution should look like a particular function, so I would like to smooth the time component using this function as a basis (instead of a b-spline or something).
Is there a way I can specify a basis function in gam? ... |
I am wondering about equation 14.64 in the book Elements of Statistical Learning. It is not really about the understanding of the equation. Here is a link of the chapter. It is in the section on spectral clustering.
The graph Laplacian is defined by
$L = G - W$
where:
$
\begin{aligned}
W &: \text{adjacency matrix, } ... |
I need to simulate a compound Poisson Process in R, however I am not clear with the algorithm to generate it. I have conceptual gaps.
I know by definition that:
A compound Poisson process is the process: $$Z_t=\sum_{i=0}^{N_t}X_i$$ where $X_i$ are i.i.d random variables with a specific distribution. In my case I cons... |
I have been playing around with the titanic data set from Kaggle. The aim of this data set is to predict if a person will survive from the given variables. I tried a few methods of encoding a persons title (Mr, Sir, Dr etc), including integer and one-hot but I got the highest accuracy when used integer encoding but ord... |
Suppose I have $n$ fair coins, and I mark one of them for identification. Next I flip the $n$ coins without looking. My friend, who is looking on, now informs me that there were at least $k$ heads flipped.
What is the probability that my marked coin was heads?
|
I understand that a stochastic process or function is considered a Gaussian process if sampling from it at any point some set of times yields a set of observations that match a Gaussian random variable, and an other way to view this is that it can be described by a mean function with some kind of covariance function sp... |
I have a model; Y ~ mX, where Y is a set of new random number generated using Poisson distribution. i.e $Y_i \sim \text{poisson}(H_i)$.
Hence I am performing 100 replications, during each replication, generating a new set of values of Y, using poisson($H_i$), and then fitting the model. Let Y-hat be the fitted values o... |
I would like to compare the affect of parameters x and z on dependent variable y.
I'm not sure how to know whether z or x is 'better'/'stronger'/'more likely to be a driver' of y.
For x, when I plotted the data I noticed a quadratic relationship lm(y~ x^2)
I wrote the polynomial regression code to call from my data fr... |
So I'm having an xgboost model "xgbm" which for a set of features, gives me a prediction between [0, 1]
xgbm(f1, ... fn) = [0, 1]
the model works fine and I measure its success with ROC AUC.
now if i'd wanted to check between different xgbm models, lets say xgbm1 vs xgbm2 the result I would get from the ROC AUC would ... |
I want to draw samples from a skew normal distribution as part of a matlab project of mine. I already implemented the CDF and PDF of the distribution, but sampling from it still bothers me.
Sadly, the description of this process from the documentation of an R package is riddled with dead links, so I did some reading on... |
The following is a question about the many visualizations offered as 'proof by picture' of the existence of Simpson's paradox, and possibly a question about terminology.
Simpson's Paradox is a fairly simple phenomenon to describe and to give numerical examples of (the reason why this can happen is deep and interesting)... |
Random forests are built by using a bagging algorithm and adding to it a variable selection feature that ensures that the trees built are really independent. More explicitly, during the construction of every tree, at each node it selects randomly among the p predictors a subset of m of them and uses only theses ones to... |
For the multinomial distribution, I had spent a lot of time and effort calculating the inverse of the Fisher information (for a single trial) using things like the Sherman-Morrison formula. But apparently it is exactly the same thing as the covariance matrix of a suitably normalized multinomial.
I.e. all of the effort ... |
I have a histogram that looks like the following:
From the data, I can see that this histogram shows two obvious curves. If I make the claim that they are from two Gaussians, how can I make a Gaussian mixture model to tell me the probabilities of an unseen x.
Is it possible to "learn" where the two Gaussian are in thi... |
I feel like the go-to motivation behind FDR is microarrays. I would like to know of applications that use FDRs that are not biostatistics related.
|
I know that every model has assumptions and work best when those assumptions hold. So, theoretically there are problem domains where linear regression works best. My question is rather this: can you give a real life problem domain where linear regression is known to perform (has higher accuracy in prediction) better th... |
I am searching the definition of ordered and unordered estimator. Would you please help me with these two definitions ?
|
Say I have two datasets that have the same features but different samples. If I build two linear models, one for each of the datasets, and then take a weighted average (say the weights here are the number of samples in each of the datasets that the model was built on) of the weights of each of these linear models, what... |
In the context of time series forecasting, does CKF perform better over KF or other Time Series models?
|
In the paper on Noise Contrastive Estimation, the authors define a parameterized density function $p_m^0\left(x;\alpha\right)$ to estimate the unnormalized PDF of the data, and then further define a function $p_m\left(x;\theta\right) = ln\left(p_m^0\left(x;\alpha\right)\right) + C$, where $C$ is the logarithm of the ... |
After doing some testing and research, I came across a pitfall of performing feature selection and running cross validation on the results of that process for some model X.
I get the general idea of why this is bad practice due to crating a bias estimate but I was wondering if this also applies to more general feature ... |
Here is a derivation from the free "Learning From Data" course, lecture 13 on validation. Here is a link to it.
Now, I'm stuck figuring out how he developed the third lane, the one about the variance. I tried to develop it myself and got stuck.
Here is what I've been trying:
$E_{val}(h) = \dfrac{1}{k}(\Sigma(e(h(x_k),... |
I'm working on a CNN library for a university project and I'm having some trouble implementing the backpropagation through the max pooling layer.
Please note that the whole thing was built from scratch following the
neuralnetworksanddeeplearning book and other resources, so I'm aware there are ready-to-use libraries... |
I am trying to solve the following minimization problem using alternate minimization.
$\underset{a,B}{\text{minimize}} \sum_{i,t}^{I,T} \frac{||x_{i,t} - \sum_{\tau = 1}^{\Theta}[a_{i,\tau}B_{\tau}]x_{i,t-\tau} ||_{2}^{2}}{Id} + \lambda (\sum_{\tau}^{\Theta} ||B_{\tau}||_{1} + \sum_{i,\tau}^{I,\Theta} ||a_{i,\tau}||_2)... |
Consider the Urn problem where a hypothetical urn contains a finite number of $m$ balls, $r$ of which are black and $m-r$ are white. We take a random sample without replacement of $n$ balls and observe $k$ are black. The distribution of $K$ follows the hypergeometric distribution with mass $$P(K=k) = \frac{{n \choose k... |
I am doing a forecasting project for school and trying to predict air passenger numbers based on 18 months of historical data from the airport.
I have considered applying Holt-Winters seasonal method due to the observed seasonality in the series. But wouldn't the limited amount of historical data cause an issue? Perha... |
I have to solve the following problem:
Let X be distributed over N (natural numbers) with probability mass function $P(X=i) = \frac{\alpha}{2^i}$ for some fixed alpha (which is an element of R, the real numbers). Find alpha.
I know that $\sum_{i=1}^{\infty} P(x=i) = 1$. Therefore $\sum_{i=1}^{\infty} \frac{\alpha}{2^i... |
The Median Absolute Deviation (MAD) is often used as a measure of dispersion of the residuals in robust regression. For univariate data, MAD is computed by first finding the median of the data, then finding the absolute deviations of each value from the median, and then finding the median of these absolute deviations.... |
Following example and data are completely fabricated:
Suppose I am studying grooming behaviour in apes. I have four cages, 8 apes in each (4 females + males). For 24 hours I did an observations with aim to record the number of events when females were grooming males.
I would like to know, whether I can explain the ... |
For the following variables:
DV: YES/NO (1 vs. 0)
IV_1: Age
IV_2: MALE/FEMALE (1 vs. 0)
And co-efficients:
(Intercept) -3.70
Age 0.02
Gender 0.17
I know that calculating the log odds of a YES (1) would require:
-3.70 + 0.02*Age + 0.17*Gender
But how would I calculate the log odds of a N... |
If $X(t)$ is a Brownian motion, how can we prove $X(a^2t)$ is also Brownian?
If $X(t)$ is brownian it is $N(0,\sigma^2*t)$ . But I am not able to see how I can use this for $X(a^2t)$
|
I used the example here (Build a covariance matrix for GAM) to modify my gam with a correlation matrix (temporal autocorrelation). I was able to follow the example completely. The problem I am having is figuring out how to calculate the normalized residuals so that I can plot the pacf and make sure I have no lingering ... |
For data $x=\begin{bmatrix} 1 \\ 2 \\ 3 \end{bmatrix}$ and $y=\begin{bmatrix} 4 \\ 5 \\ 3 \end{bmatrix}$, fit a linear model $y=ax+b+\varepsilon$ using the formula $\hat{\beta}=\left ( X^TX\right)^{-1}X^TY$.
This exercise should be really simple, but I have some doubts about my reasoning.
Let $Y_i = \beta_0 + \be... |
I was wondering if there are there situations in research wherein equivalence between the treatment and control groups is dependent on time... for instance could there be situations wherein the equivalence between the treatment and control groups may disappear with time after the randomization process?
|
If $X$ has a $\Gamma(\alpha, 1)$ distribution would $\beta X$ not have a $\Gamma(\alpha \beta, 1)$ distribution by the summation property of Gamma distributions? I must be missing something.
|
For binary vectors, x = (x1,x2,...,xn) and y=(y1,y2,...,yn), the Hammond distance between them is defined by
d(x,y) = |x1 - y1| + |x2 - y2| + ... + |xn - yn|.
Let A be a finite set of such vectors and let X1, X2, ..., Xn be independent random variables that are each equally likely to be either 0 or 1. Set
D = min {d(x... |
I‘m performing a propensity score matching in a health economics setting. The goal is to show the effect of a certain treatment on health expenses. Is it reasonable to identify first the covariats with the highest impact on health expenses? A matching for covariats that don't influence expenses is worthless, isn't it? ... |
I have a question regarding the last line in this slide, taken from the free "Learning From Data" course, lecture 13 on validation. here is a link to it.
At start,I was not familiar with this $O()$ notation. After doing some research in wikipedia and youtube, I have an intuitive understanding of what this line means:
... |
I am new to designing experiments. I like the simplicity of 2-level, fractional factorial designs for screening what factors and interactions are important. However, I often conduct competitive analysis where there are three or more products to evaluate. All of the other factors can be made 2-level. What's the best way... |
I mean to merge 2 gridded dataset of bathymetry using
BLUE (Best Linear Unbiased Estimate).
$merged = \frac{(\sigma_1^2 * dataset2 + \sigma_2^2 * dataset1)}{(sigma_1^2 + sigma_2^2)}$
I know the variance of only dataset2 ($\sigma_2$), while the other is unknown.
I know, though, that the precision of dataset1 is 1 mete... |
We have a set of measurements with known uncertainty both in dependent and independent variables. The uncertainties follow Gaussian distributions. The model function is known and nonlinear.
How can we obtain the uncertainty of the fitting parameters and the function using Monte Carlo methods?
|
What´s the easiest way to prove this relationship for Pearson´s c.c.
$$\frac{E((X-\mu)(Y-\nu))}{\sqrt{E((X-\mu)^{2})E((Y-\nu)^{2})}}=\frac{E((X_{1}-X_{2})(Y_{1}-Y_{2}))}{\sqrt{E((X_{1}-X_{2})^{2})E((Y_{1}-Y_{2})^{2})}},$$
where $(X_{1},Y_{1}),(X_{2},Y_{2})$ are i.i.d. as $(X,Y)$ and $E(X)=\mu, E(Y)=\nu.$
Thanks in adva... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.