instruction stringlengths 9 38.7k |
|---|
Good Day,
I am planning a study that will I analyze using Latent Class Analysis. I have three tests that will be used as inputs to the LCA and I wish to create a 2-class model.
I have some pilot data that I can use and I am looking for resources to calculate the power required for a larger study. Does anyone have a... |
I have a nonuniform sample rate. I want to take the mean of samples for a given interval, say an hour. Within the samples of this hour, I want to weight each time slice equally.
For example: if I have 100 samples in the first 10 minutes and 10 samples in the remaining 50 minutes, I don't want to overweight the first 10... |
A bit of a neophyte question:
I want to conduct data reduction on an NLP dataset 2000+ variables and 100000 plus cases.
I am looking at different data reduction techniques discussed in
"Robust Methods for Data Reduction" by
Alessio Farcomeni and Luca Greco
However, I am not quite clear as to what criteria I need to co... |
There is a single observation of a random variable $Z$, we know that this random variable comes from a normal distribution, we also have an estimate of the variance of this normal distribution, $s_Z{^2}$.
The question is whether with the information we have we can place margins of error, say $\pm3s_Z$, on our single ob... |
I'm trying to solve an image classification problem that involves a very large number of classes. Each image actually has two labels associated with it that we can think of as a coarse and a granular label (so there are many more granular labels than coarse labels and any given example has one of each, etc.).
I have a ... |
I am given a set of data and need to find the MLE of it. I need to fit a log normal distribution of this data set. [in R studio]
|
I have a logistic regression recommender model built on my data where I tried to predict one of two outcomes for each row. Let's call them success and fail. I'm using the cross_val_score function of SKLearn to do so. I was planning on just using precision and recall as performance measures, but saw the "micro" and "mac... |
I have an experimental design with 4 groups: (1) Controls, (2) Treatment A, (3) Treatment B, and (4) Both treatments A and B
The data looks like this:
In this experiment, I want to know what Treatment A does on its own, what Treatment B does on its own, and what they do together. It seems like a classic 2-way ANOVA si... |
In logistics regression we use Gradient Descent to minimize the error function. For example:
We have error function
e(x) = hθ(x) - y
To get an appropriate θ to minimize error(x), we use Gradient Descent.
To simplify my question let`s assume θ, x, y are all normal numbers, not vectors.
So in Gradient Descent. First w... |
I came across the following issue recently. I hope someone will be able to help me understand.
Say that I want to study the effect of a categorical variable X on my outcome y. X is a factor, and I use dummy coding with one level of X (say, x0) as a reference. It is a repeated measure design, where each subject is test... |
This blog claims that the fact that the mean and variance of Poisson distribution are equal can cause problem. Could you please elaborate why this is the limitation and how it can affect models?
|
Matrices are represented by bold uppercase letters; for example, a set of N input p-vectors $x_i$, $i = 1, \dots ,N$ would be represented by the $N×p$ matrix $X$. In general, vectors will not be bold, except when they have N
components; this convention distinguishes a p-vector of inputs $x_i$ for the $i^{th}$ observat... |
Can I estimate a gamma regression model with continuous dependent variables only? I want to predict production levels with workforce, inventory level, and demand.
|
In lecture 8 of his Coursera machine learning course Andrew Ng states that $$\frac{ \frac{1}{m} \sum_{i=1}^m {|| x^{(i)}-{x^{(i)}_{\text {approx}}} ||}^2}{\frac{1}{m} \sum_{i=1}^m {|| x^{(i)} ||}^2}\le 0.05$$
means "95 % of the variance was retained". Can anyone explain to me why the equation means that?
I understand ... |
I wonder if there is any advice for performing a sample size calculation for survival data using the one-sample log rank test with interims (ie group sequential) - ie with O'Brien-Fleming or some other alpha-spending technique (or if there are alternative methods for interims in one-arm survival studies then that is of... |
I am trying to fit a model for the data I acquired in a double slit diffraction experiment on R using nls.
The equation I am modelling with is:
$$I=4I_{0}\cos^2(\frac{\pi d}{\lambda }\frac{x}{l})[\frac{\sin(\frac{\pi a}{\lambda }\frac{x}{l})}{\frac{\pi a}{\lambda }\frac{x}{l}}]^2$$
where $a$ is the slit width, $d$ is ... |
I want to estimate a Panel Vector Autoregression model (bivariate), while one of my variables is binary. Hence I have to estimate a VAR model with one linear equation and one logistic equation.
Any tips with which software I could realize this and how? (Preferrably Stata)
|
I want to fuse the estimation from two vision-based algoritms for a moving robot using Kalman filter.
The state of the robot is defined as: $q_{k}=(x,y,\theta)$ where $x$ and $y$ are the coordinates in the $XY$ plan and $\theta$ is the heading angle.
The first algorithm outputs the control $u_{k-1}$ and the evolution o... |
I'm trying to fit a linear mixed effect model with random intercept using a predictor that ranges between 0 and 1. My response variable is the number of animal species in a plot and follows a negative binomial distribution (log link and zero-inflation). I'm using glmmADMB to build the model and I would like to report t... |
An interview question that was relayed to me by a colleague:
A machine beeps exactly 5 times within a time span of 10 minutes. However, the distribution of these 5 beeps across the entire time span is fully randomized - any distribution of the 5 beeps across the 10 minutes is equally likely.
You heard the 3rd beep, the... |
I am looking to apply the concept of type M and S errors to a network meta-analysis I’m working on, hoping to use the following function developed by Andrew
retrodesign <- function(A, s, alpha=.05, df=Inf, n.sims=10000) {
z <- qt(1-alpha/2, df)
p.hi <- 1 - pt(z-A/s, df)
p.lo <- pt(-z-A/s, df)
power <- p.hi +... |
I am solving a binary classification problem with a random forest that has a rather large number of trees, e.g., 100. I use a standard voting mechanism for classification, i.e., for any input item x the score f(x) in [0,1] computed by the algorithm is the number of trees that classify the item as class 1, divided by th... |
If an estimator $\theta$ is inconsistent, can I always conclude that $\theta$ is also biased?
|
I would like to get the probability distribution (either pdf or cdf) for a variable, by knowing the first n-moments of the distribution.
I ask:
Is there a standard way to deal with this, and maybe a python package?
It is a matter of inverting the moment generating function or the characteristic function, that are expr... |
I have the following problem:
a measurement produces a certain value $x_i$ and I have an associated error $\Delta x_i$ for every measurement;
the $i$ measurements are not independent and there are many of them $i \in [0, N]$ with $N \approx 2000$;
I would like to calculate the standard error of the (weighted) mean $_... |
I have a problem where I have multidimensional time series data (e.g. 3 dimensions from accelerometer) and I need to find some patterns in the data. I might now approximately the possible duration of patterns and might be the number of different patterns. Other details (e.g. patterns shape, etc.) I don't know.
Just an ... |
I have trouble imagining realistic research questions that can be answered by a one way ANOVA. Two or more ways with interaction terms and perhaps mixed factors (within and between subjects), sure you will need to do an ANOVA among others, but one way? I speak about one-way ANOVAs with more than two groups. If there ar... |
Suppose you have $Var(Y_i|X_i)=\sigma^2, \forall i$, so that the conditional variance of $Y$ given $X$ is constant.
However, as long as the conditional expectation function is not linear, this does not imply that the residuals of the linear regression are homoskedastic.
To see this is sufficient to write (in the case ... |
I have a set 500 test scores which includes a national percentile ranking for each score. If I calculate a 50th percentile of the national percentile rankings, I get where the 500 test takers stand nationally as a group, in my case 67%. Now, I want to take a subset of those scores, say 150 of the students who took the ... |
Consider the plot below in which I simulated data as follows. We look at a binary outcome $y_{obs}$ for which the true probability to be 1 is indicated by the black line. The functional relationship between a covariate $x$ and $p(y_{obs}=1 | x)$ is 3rd order polynomial with logistic link (so it is non-linear in a doubl... |
Let us assume I have developed two designs (A, B) of a product and I want to see which one performs better in terms of sales. So I run an experiment where some customers can buy A whilst others can buy B. This gives me two means (e. g. the A-customers bought on average 5x, the B-customers 7x) with which I perform a t-t... |
I am reading a paper that reported a significant difference in correlation between age and some measure between groups. It looks like they calculated the Fisher's-R-to-Z wrong? I wonder if someone could check my math?
Group 1: R = .618, p = .001, n = 24
Group 2: R = .258, p = .223, n = 24
The researchers reported... |
I'm having trouble with this because I suspect I'm missing some key terminology in how to ask this question. I have data that shows a relationship shown below:
Notice how as js_avg increases, the maximum s for a given js_avg seems to decrease? For reference, these are data from bedrock streams, where we measured avera... |
For some reason, I'm having trouble working this out in my mind.
My two independent variables of highest interest are a health condition and treatment for that health condition, and their impact on overall health costs for a population.
If someone does not have the health condition, there is no circumstance in which th... |
What is a type of graph that's graphing only 1 type of value on a grid?
Like, say, you have an ice cream seller, and you collect all the prices for the ice cream, but you somehow don't have any other data. Just the prices. No information about what price goes to which ice cream...
What is the type of graph where I grap... |
I want to improve my understanding of neural networks and their benefits compared to other machine learning algorithms. My understanding is as below and my question is:
Can you correct and supplement my understanding please? :)
My understanding:
(1) Artificial neural networks = A function, which predicts output values... |
I am applying a multiple linear regression model on time series data (independent and all dependent variables are time series). I am wondering if I have concerns of autocorrelation of residuals, by looking at the below plots, in order to evaluate other approaches such as AR. Should I be doing any other checks?
|
I am creating a multilevel model to measure change over time in risk behaviors over 25 months. The risk behaviors are calculated as how many behaviors from a list of 22 that people report doing or not doing in any given month. However, because of logic statements, participants may or may not be asked about 2 of the 22 ... |
I would like to take into account the sampling effort in a logistic regression (in R) to give more or less weight to observations, but I don’t know how to do it. I have read many topics on the “weigths” parameter in glm but this seems not suitable in my case. I have a dataset with presence or absence at different locat... |
Background:
My question is based on This Paper (see its Appendix for R code). The paper is trying to basically obtain the empirical distribution of a statistic called $\eta^2$ (eta-squared) via large replications. If we assume a one-way ANOVA with a normal population for each level (i.e., group), the population paramet... |
I have a dataset of patients who're prescribed a medication over the period of 3 years. The drug was supplied to each patient in different time intervals. I want to do a survival analysis to monitor recurrent events (i.e., events occurring multiple times).
The problem with the data is that, for some patients, the event... |
While reading The Elements of Information Theory on page 59. I got stuck in intuiting this line:
If p(y|x) is fixed, then p(y) is a linear function of p(x).
$p(y) = \sum_{x\in\mathcal{X}} p(y|x) p(x)$
If $p(y|x)$ is fixed, then $p(y)$ is obviously a linear function of $p(x)$.
PS: this is the theorem:
Could any... |
Must it be continuous? Note we are talking about the base distribution. The sampled distribution is discrete.
1) If the base distribution is continuous, drawing from it will get a new value (a new cluster mean, for example) every time.
2) But, you can nest Dirichlet processes. Which implies the base distribution can b... |
I am modelling industrial diversity in American MSAs (Metropolitan Statistical Areas) as an inverse Hirschman-Herfindahl index (IHH). I have a choice between 4 levels of NAICS industrial classification levels (equivalent to 3- to 6- digits NAICS codes) to aggregate the data before computing this IHH. I don't know how t... |
I have a linear mixed model, say:
$$y \approx x_1 + \cdots + x_n + (1\,|\ \text{person})$$
I would like to have a Confidence interval for the prediction, so I would like to say:
if $x_1=3\ $ and $\ x_2=6$, etc, and ignoring the random effect, then $y$ is probably between 10 and 12.
I have found 2 ways to do this:
with... |
On Wikipedia and many other sites, it is mentioned that
The Tukey lambda distribution is actually a family of distributions
that can approximate a number of common distributions. For example,
$\lambda = -1$ approx. Cauchy
$\lambda = 0$ exactly logistic
$\lambda = 0.14$ approx. normal
$\lambda = 0.5$ strictly co... |
I'm studying Monte Carlo analysis but I find very counter-intituive the computation of the minimum sample size in order to reach a certain level of precision. As stated in Monte Carlo methods in Financial Engineering, such sample size comes from the CLT and it can be computed according to
$$n = \frac{z^2_{\delta/2} \si... |
I guess this is a classic statistical question but I can not find any clear answers (or at least one that I can understand) about my problem on the net.
I work in biology and I try to highlight a link between two variables. The first variable is a continuous quantitative variable (it is a measure of the intensity of a ... |
I'm slightly confused why the 95UCL (upper confidence limit) is of the population mean (as typically stated in most explanations) and not of the sample mean.
For example, if from of a population of unknown mean and standard deviation a number of items are selected to provide a single data set then the calculation of th... |
I am using a dataset where a variable is "height". However, when I read about the construction of the dataset, it seems that some observations in the dataset are labelled in centimetres and others in hectometres, and I don't know which is which, since it is not given in the dataset. (Otherwise I could simple multiply t... |
It is a common practice to normalize data for training a neural network to zero mean and "unit" standard deviation to reduce exploding and vanishing gradient effects etc.
What does "unit" std mean here? An example would be really helpful.
|
In general, you want to check the performance of basic machine learning algorithm in default settings to get a feeling for the underlying structures, before picking a model.
I know every ternary tree can be represented as a binary tree. But why is this a reason to not use ternary trees?
Of course they are computationa... |
I have a time series data and I applied the first difference operator to make it stationary. When I plot the partial autocorrelation function of this differenced time series, I find peaks with value >1 and less than <-1 at certain lags.
1)Should I consider these lags for my analysis?
2)I am using MATLAB to plot the PAC... |
I am a beginner here. I would like to ask if i run binary logistic regression, do i have to do the tests below just like in multiple regression?
(1) stationarity of data
(2) multicollinearity
(3) autocorrelation
(4) heteroskedasticity
Thank you so much for your help!
|
I am doing a classification and I have this question about using linear discriminant analysis (LDA) just for dimension reduction:
Shall the LDA be applied on whole feature matrix including train and test data and then (after reducing the dimension of data) do the partitioning of feature matrix to provide train and test... |
I've been trying out a prototype selection method for 1-nearest-neighbor classification, but I don't really know what to search for to find literature/papers about the method:
Initialize the prototype set with one training example from every class (e.g. randomly selected or the class centroid or something else)
For ev... |
let's say I look for the correlation between variables A and B and find it to be high (say 0.80), eg height and weight of people. Can I then expect that if I encounter two populations with different mean A1 and A2 (height) then B (weight) has got to be different? Can this be measured (such as how different the two mea... |
I was reading this interesting article on hot hands and streaks in sports. The article revolves around the 16 possible sequences of 4 coin flips (H = heads, T = tails):
HHHH
HHHT
HHTH
HHTT
HTHH
HTHT
HTTH
HTTT
THHH
THHT
THTH
THTT
TTHH
TTHT
TTTH
TTTT
The article states the following:
[I]n the sixteen length-four sequen... |
I'm trying to figure out a smart way to test some data, and afterwards correct my assumption. So I'm looking for suggestions to which path to take.
I'm looking at how often birds crash into windows, and I have a complex model with many covariates describing the crash frequency of these birds. I have data on 10,000 bird... |
How to construct an example of a probability distribution for which $\mathbb{E}\left(\frac{1}{X}\right)=\frac{1}{\mathbb{E}(X)}$ holds, assuming $\mathbb{P}(X\ne0)=1$?
The inequality which follows from Jensen's inequality for a positive-valued RV $X$ is like $\mathbb{E}\left(\frac{1}{X}\right)\ge\frac{1}{\mathbb{E}(... |
I am using artificial neural networks for an unconventional problem and, although it looks like it is working, I want to make sure that I am not doing anything wrong.
I have a code, STARCODE, that predicts the spectrum of stars based on some their physical properties (input parameters). STARCODE solves many physical eq... |
Suppose that you have data x which is modeled as a realization of a Poisson random variable X with expected value $\lambda$>0. I know that the sum of Poisson random variables is also Poisson distributed, but is this also the case for the sample mean ($\frac{1}{n}\sum\limits_{i=1}^n x_i$)?
|
I am trying to predict a certain binary variable $Y\in\{0;1\}$ given a feature vector $X$. I want to train a predictor for $Y$ or $P(Y=1|X)$.
Assume for simplicity that I would naturally use logistic regression (I will appreciate an answer with actually any model/method you like). I expect that $Y$ depends a lot on $X... |
Patients arrive randomly and independently at a doctor's clinic from 8·0 A.M. at an average rate of one in Five minutes.The waiting room holds 12 persons. What is the probability that the room will be full when the doctor arrives at 9·0 A.M.?
I know how to solve some Poisson distribution based problem. But for this one... |
When we want to estimate parameters of linear regression, we make normal equations as many as the linear model contain number of unknowns. Why are these equation called normal equations?
|
I'm working with a fictional pizza company to investigate a drop in on-time deliveries. It would be helpful to know if the statistical conclusion is correct here.
Each day, a rolling-28day percent of on-time deliveries is calculated. This is the ratio of sum_delivered_ontime_past28d / sum_all_deliveries_past28d.
The c... |
As I understand it, the synthetic control method (SCM)-a method that builds on difference-in-differences (DD) estimation-can be used to evaluate the causal effect of shocks or interventions [see 1]. This method may be used in circumstances where only a few units are subject to the intervention while a larger set of uni... |
I am comparing the means of male and female blood sugar levels to see if males have lower blood sugar levels than females. My hypothesis is as follows:
H0 : µf - µm = 0
Ha : µf - µm >0
on a 5% significance level, H0 should be rejected, since p-value (Prob>|t|) = 0.001/2 < 0.05.
Is this correct? Because when I look at... |
I read in a paper that an important issue in multilevel modelling is the potential correlation between the predictors $X_{ij}$ and $u_{j}$, the residual component of the group levels.
The multilevel equation being
$Y_{if} = β_{0} + B_{1}X_{ij} + B_{2}Z_{j} + u_{j}$
with $Z_{j}$ the group level co-variates.
Firstly... |
Consider the ARIMA(1,1,1) model $$(1-0.5B)(1-B)y_t=(1+0.8B)a_t$$ where
$a_t\sim WN(0,\sigma_a^2)$ and a second independent process given by
$$z_t=(1+0.5B)b_t$$ where $b_t\sim WN(0,\sigma_b^2)$ with $\sigma_a^2=\sigma_b^2=\sigma^2$.Give the model
for the aggregated model $$w_t=y_t+z_t$$ and discuss situations in
... |
I had some experience with genetic algorithms during my computer science studies. I wanted to refresh my knowledge and decided to write a simple prototype for automated seating people at tables (e.g. at a wedding). However, the results I get are disappointing and I've run into some problems.
The input
number of tables... |
A hospital administers a test to see if a patient has a certain disease. Assume that we know the following three things:
5% of the overall population has the disease
If a person does have the disease, then the test has a 90% chance of correctly indicating that the person has it. (So 5% of the time, the test incorrectl... |
What is the go to algorithm for finding an anomalous discord (sequence) in a time series given only the time series itself rather than being able to compare to other time series?
(I have access to Python and R.)
|
In my multi-label classification task I'd like to provide label ranking for each prediction, i.e. the following classification result:
(0.8, 'class A'), (0.2, 'class B')
would mean that this observation most probably belongs to the class A, but it also has something in common with the class B.
At the moment I am usin... |
I am trying to replicate the distributions for the Dickey-Fuller Unit Root test, but I had no success.
I tried reading the original paper (but explains more of the 70's computing than about the simulation itself) and also following the steps on Enders' "Applied Econometric Time Series" book.
Does anybody have a good so... |
(1) Confidence intervals
(2) Posterior probability intervals
(3) Fiducial intervals
Is there some conventional term that encompasses these three sorts of intervals, but does not include prediction intervals? All of them are BLANK intervals. Fill in the blank.
|
How am I supposed to interpret the confidence interval for a two tailed Student's t test?
I understand that the confidence interval in a one tailed t test reveals the likely range of difference between the two population means. When running a two tailed t test in Matlab, the confidence interval still looks like a like... |
When you have two of the same distribution, are they necessarily independent and identically distributed (i.i.d.)?
For example, when you have two from the normal distribution with the same expectation and variance, are they i.i.d.?
|
Edit: I have solved this. I was incorrectly simulating values for the dependent variable and not using a good summary statistic. I have changed my algorithm to:
Simulate y value using simulated B0, B1, B2. Random normal around simulated sigma.
Calculate summary statistic as sum of squared differences between simulated... |
I am currently studying TwoStep clustering and one of the distance measures that is the log likelihood distance measure. Mainly this distance measure accepts both categorical and continuous variables. For categorical variables it is assumed that the variables are independent multinomial distributed. Can someone help me... |
Question
In normal GD the weights are updated for every row in the training
dataset while in SGD the weights are updated only once for the mini
batch based on cummulative dLoss/dw1, dLoss/dw2 . Is my
understanding correct?
Does updating weights only once for m examples based on cumulative
dLoss/dw1, dLoss/dw2 give sam... |
Considering an i.i.d. sample from a linear model $y_i=\alpha x_i+u_i$ (both $y$ and $x$ are centered with respect to their means) errors are homoscedastic and are distributed as:
$$u\sim\frac{1}{\sqrt{2\sigma^2}}e^{\frac{\sqrt{2}{|u_i|}}{\sigma}}$$
How do I calculate the Fisher Information for $\hat\alpha_{ML}$ (maximu... |
I hope that someone can help me with this question.
I created a questionnaire that has different scales for each of the questions under one construct. Each of the questions still have a 5 point scale but the variable associated with the numbers 1 - 5 vary per question, e.g. Q1: agree - disagree, Q2: low - high, etc.
... |
Some questions came to me as I read a paper 'Batch Normalization : Accelerating Deep Network Training by Reducing Internal Covariate Shift'.
In the paper, it says:
Since m examples from training data can estimate mean and variance of all training data, we use mini-batch to train batch normalization parameters.
My quest... |
I have a data set for crab heart rate, in two groups, one at a higher temperature and one at a lower temperature. Both data sets are time-dependent (measuring heart rate after stress in hot and cold crabs). Because both sets are dependent on time I can't use a t-test, and I'm really at a loss.
If I compare the means I ... |
I want to represent hierarchical data of uniform depth as a horizontal tree of tiles in a box. The x-axis would represent hierarchy levels and the y-axis the visualised metric. On the extreme left would be the highest level represented as a single tile occupying the entire height of the box. Next would be a stack of ti... |
I have a univariate random variable $x$ whose density has the following form
$$p(x)\propto \int f(x,y,z) \,\mathrm{d}y \, \mathrm{d}z.$$
And the support for $x$ is bounded, let's say $-1< x < 1$.
I want to directly sample from this density, no MCMC. The bivariate integration could be done using numerically evaluated fo... |
I have simulated 1,000 samples in R and want to test if they where drawn from the distribution function.
$G(x)= 1-F_{\chi^2(1/(1-\alpha),b(e^{-(r-q)T}x)}(b(S_0)), \forall x\ge0 $
$b(y)=\dfrac{2(r-q)y^{2(1-\alpha)}}{\sigma^2(1-\alpha)(1-e^{-2(r-q)(1-\alpha)T}}$
If i plot the empirical cdf using ecdf against $G(X)$
s... |
From what is told on page 268 of the Polarimetric Radar Imaging: From Basics To Applications:
I have written the following code for wishart distance calculation in Matlab:
function distance = WishartDistance(Cm,Z)
distance = log(det(Cm))+trace(Cm\Z);
end
But for matrices $C_m$ and $Z$ in the following:
I ... |
I have a pretty small data set with (approx 150 obs) that I'm using to predict both a binary outcome variable and a continuous. Right now, I'm using nested cross validation as follows:
Outer loop is 20 times repeated 5-fold CV to produce 100 performance metrics. Each inner loop is 10-fold CV to tune hyper parameters.
I... |
So I have the following problem and I want to discuss it with you to see if I am thinking correctly.
Data description:
I have recurrent data from clinical trial. The data has a specific mtest that is performed each year to indicate disease degree scale. The mtest can be ranged as 1:5. So I have about 60,000 records tha... |
According to the explanation here, DBSCAN eps value is just the step size, but the resulting distances in the cluster can be much bigger. I think it means, that all the elements of other clusters are possibly separated from the first one by the distance, higher than eps - but we can draw the chain with chunk size of ep... |
Let us have 2 groups - treatment group (1) and control group(2).
Each group has survival probability $p_1$ and $p_2$ respectively. Ofc each patient survives or dies independently given $p_i$ of his group. Let us define $y_i$ as number of survivors in group i, $n_i - y_i$ - number of deceased in group i.
So, I am setti... |
I am having a really hard time taking concepts of probability space, experiment, random variables and stitching them together to make a robust understanding of the probability theory.
So every probability theory starts with an experiment. According to Wikipedia "In probability theory, an experiment or trial is any pro... |
I am unsure why I got this question wrong:
So if my posterior probability of a head-based coin is currently 60%, then that means I'll choose heads and so my EV of a loss is 4 (40% * 10). However, if I wait and flip another coin, I immediately incur a loss of 1 + whatever my new EV is. What's my new EV seems to be the ... |
This is exercise 9.8 from John Fox's "Applied Regression Analysis & Generalized Linear Models". The question text is:
The statistic:
$$
t = \frac{B_j - \beta_j}{ S_E \sqrt{v_{jj}} }
$$
to have a t-distribution, the estimators $B_j$ and $S_E$ must be independent. [Here, $v_{jj}$ is the jth diagonal entry of $(X^{\top}... |
I have tree inventory data: about 700 points of trees with known locations (X;Y;Z) and measured heights and diameters of stems at the breast height (DBH). The trees are located along the elevation gradient from dense forest to treeless tundra, this gradient is also known as treeline transition zone. I have already figu... |
I'm attempting to find a closed form expected value of a particularly messy expression involving dot products of multiple neural network outputs.
A sub-problem of this is to consider just a single feed-forward network.
Consider the feed-forward neural network with weight matrices $W_1 \in \mathbb{R^{k_2 \times k_1}}$,... |
on my lecture handbook show that Pearson Correlation is
$$R_{xy}=\frac{N \sum XY - \sum X \sum Y}{\sqrt{[N\sum X^{2} - (\sum X)^2] [N\sum Y^{2} - (\sum Y)^2]}}$$
but in other source say
$$r = \frac{\sum (x-\overline{x})(y-\overline{y})}{\sqrt{\sum(x-\overline{x})^2\sum(y-\overline{y})^2}}$$
Which one is correct? thanks... |
Suppose that the data $y_i$'s are from the following bivariate normal
$$y_i\sim \mathcal{N}\bigg(\mu,\left[ {\begin{array}{cc}
\sigma_{11} & \sqrt{\sigma_{11}\sigma_{22}}\rho \\
\sqrt{\sigma_{11}\sigma_{22}}\rho & \sigma_{22} \\
\end{array} } \right]\bigg).$$
Suppose that $\mu$, $\sigma_{11}$ and $\sigma_{22}$ ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.