instruction stringlengths 9 38.7k |
|---|
Often times, in python's scipy library's statistical tests(e.g. Fisher Exact Test), there is an option for two-tailed or single tailed. But for single-tailed it says "less" or "greater." I don't quite understand what it means when it states:
Use a one-sided alternative hypothesis (also known as a directional hypothes... |
I'm using Hierarchical Clustering Package in Mathematica to analyse the set of experimental data (each experimental point has about 10 parameters). There are a lot of options for Distance function and Linkage in this Package. I used EuclideanDistance and Median for Linkage (and I have satisfying results, that fits wel... |
In the Generalized Beta distribution of the second kind (GB2), where a, p, and q are shape parameters and b is a scale parameter, the pdf is defined on $\mathbb{R}_+$ by:
$$
GB2(y;a,b,p,q) = \frac{|a|y^{ap-1}}{b^{ap}B(p,q)(1+(y/b)^a)^{p+q}}
$$
By the definition of a scale parameter, this implies that:
$$
GB2(y;a,b,p,q)... |
I'm measuring the garbage output of various cities in my country. I have 5 independent variables as predictors measured at 4 time points.
I'm not interested in the effects of time. I just want to know the regression coefficients for each of my variables. To find that out, I could do 4 separate multiple regressions, on... |
In the Generalized Beta distribution of the second kind (GB2), where a, p, and q are shape parameters and b is a scale parameter, the pdf is defined on $\mathbb{R}_+$ by:
$$
GB2(y;a,b,p,q) = \frac{|a|y^{ap-1}}{b^{ap}B(p,q)(1+(y/b)^a)^{p+q}}
$$
In the Pareto distribution, the tail index is just the single shape paramete... |
I have a longitudinal dataset with few time points (N=10) and few subjects (N=10). Both independent/predictor and dependent/response variables are high-dimensional (N ~ 100 for both types of variable). Both independent and dependent variables are time series (N=10). I'm interested in determining which independent varia... |
I am planning to parallelize the model training of multilayer perceptron using sklearn.neural_network.MLPClassifier in conjunction with any distributed-memory framework, specifically Message Passing Interface (MPI). This is because I will be having a very large dataset as an input and would like to speed up the trainin... |
As part of calculating the log-density of a very large multivariate normal distribution, I need to evaluate the following log-determinant:
$$
f = \mathrm{ln}\left( \mathrm{det}(\mathbf{XAX}^\top + \mathbf{D}) \right),
$$
where:
$\mathbf{A}$ is $n \times n$, symmetric, sparse and positive-definite,
$\mathbf{D}$ is $m ... |
In the simplest case of the statistical view of linear regression, we have that
$$
y = f(\mathbf{x};\mathbf{w}) + \nu, \text{ where }\nu \sim \mathcal{N}(0,\sigma^2)
$$
where $\mathbf{x}$ is an input vecto, $\mathbf{w}$ the vector of the coefficients of the linear function $f$ and $\nu$ is so called "white noise". Fin... |
I performed a multiple linear regression and after checking my results everything seems to be great, but when I checked the residuals I noticed this patterns in the attached figure and I am not sure if it's right or not. I think there are two (or maybe three) groups. Am I right? Or this is a a random distribution? If t... |
Suppose I want to know a realization of $y\sim\ N(0,\sigma^2)$ and observe two signals,
$y+\varepsilon_1$
and $y+\varepsilon_2$. Where $\varepsilon_1 \sim\ N(0,\sigma^2_{\varepsilon_1})$ and $\varepsilon_2 \sim\ N(0,\sigma^2_{\varepsilon_2})$ and $y,\varepsilon_1,\varepsilon_2$ are independent.
Is there a simple chara... |
If we want to generate a random sample according to a distribution $F$, we can generate a uniform random number on $(0,1)$ and invert it by $F$. This is due to the fact that, if $U$ is uniform on $(0,1)$, then $X=F^{-1}(U)$ is a random variable that follows $F$.
I know this is true as $P(X\le x) = P(F^{-1}(U)\le x) = P... |
I guess my question is rather basic. Unfortunately, I still did not manage solve it, although searching for hours.
I have a linear regression model and need to do a CUSUM test for parameter stability.
I am fine to calculate the test statistic. However, I have not found a way to derive boundaries for the test statistic ... |
Given two i.i.d. RVs $x$ and $y$ with uniform distribution in $[0, 1]$, I need to find the p.d.f. of $z = 2x + 3y$.
I have worked through the proof of the general result to get this far to my satisfaction:
$$f_z(z) = \int_{0}^{(z - 3y)/2} \frac{1}{2} f_{xy}((z - 3y)/2, y)dy$$
I have no confidence in taking the next ste... |
I have a 5000 X 32 X 10 3D array of gene expression data that I would like to apply clustering and dimensionality reduction on.
The dimensions represent the following:
I have 5000 genes, measured in 32 different mutant strains, each in one of 10 environmental conditions. (mean = 0, var = 1)
I'm trying to do something... |
I have a set of 5 binary inputs and for each there are a set of 5 binary outputs.
I would like to know what technique one could use to find the rule between them..? I've used Machine Learning in then past where the output (Response) is a single 1, or 0 in this case a simple classifier does the trick. I have never done ... |
I have done Repeated Measure Two way ANOVA for my ample of data using SIGMAPLOT. My analysis has two factors, for example: 1st factor is the hydrogen peroxide concentration and the 2nd factor is about time series (20 minutes with every 1 minute interval I took the absorbance reading).
What happened was my normality ten... |
I have data for a time series made stationary by subtracting a linear model Xt=2.1+1.2t. Now I have to make predictions for the next 4 observations on the original scale. How do I add back the line to get the original series data in r?
|
So basically I want to understand better the Newton Raphson method. I made it through all the matrix calculus and understood how you get to this formula :
However, are the updates to the beta parameter made after each example of my training set ?
edit : I took this formula from the following paper https://statacumen.c... |
The picture is a residual plot, standardised residuals on the ylab and predicted income on the xlab. However as you can see, the xlab are so small that this can't possibly be correct. I have used many different commands, however, I can't seem to figure this out. I use rStudio and this is the commands I Use:
plot(fitte... |
Hello I have many 3d points (x, y, z). I have averaged every z with a matching (x, y) value and plotted the resulting means as a surface.
The data looks pretty good:
The green indicates where the sample of points was greater than 100 i.e. the more reliable means.
What I want to do is construct a function z = f(x, y)... |
I've read several papers why p-values should be replaced by Bayes factors and trying to use them.
What I have: say, I have matrix of 2000 rows and 1000 columns. In each column I need to make a decision which model is more realistic: $M_0$: there are 2 classes in that column, $M_1$: there is only 1 class in that column.... |
I was doing the various Machine Learning Mastery tutorials but I got very confused. Some answers (for instance this and many others) helped me but I still am confused.
Difference between batch_size, timesteps, lags and what are the correct input dimensions?
I will provide you with an example.
I have a time series
timeS... |
I just recently started to work again on Dynamic Bayesian Networks, and looking at the literature, it seems to me that they were popular in the '00, but less widely in use now, for what it concerns data assimilation and modeling stochastic processes/time series. Is it a false impression, due to the fact I haven't used ... |
How would you conduct power analysis for comparing means of a response that goes from 0 to 1? -- e.g. comparing the mean test scores of two groups of students, where the score can range 0-100%?
This seems like it should be different than conducting power analysis comparing two means of a continuous response variable (w... |
I am currently working on a market forecasting project based on the current news feed. Thus, for every windowframe i extract articles that were released in that time and I detect a number of topics that these articles relate to. Therefore, i end up with for instance 300 numerical features representing the topics discus... |
.
$(a)0.4\\(b)1.4\\(c)3.6\\(d)5.3$
Here the probability $P(-4)$ should be $\frac{2}{7}$,$P(0)=\frac{3}{7}$ and $P(4)=\frac{2}{7}$
Now entropy should be $$H(x)=2\times\frac{2}{7}\log_2\frac{7}{2}+\frac{3}{7}\log_2\frac{7}{3}=1.55$$
but no option matching what the mistake i am doing ?
|
I'm currently studying linear regression on this book
"F.M. Dekking - A Modern Introduction to Probability and Statistics: Understanding Why and How" where the signal+noise model is presented:
$Y_i = \alpha\ + \beta x_i\ + U_i$
where $x_i$ are non-random, $U_i$ are independent r.v.s with $E[U_i] = 0$ and $Var(U_i) = \... |
Due to the already extremely random model of the stock market, this is a bit of a tough ask, but is it possible to attempt to measure the affect of a single annual recurring event on a specific companies price?
For example, if the google I/O annual developer's meeting affects the price at all? I plan on doing this for... |
I am working on a market prediction project based on the timeseries data. Essentially i am trying to windowframe the data and predict whether the price goes up or down in an hour, 30 minutes and 15 minutes using LSTM networks (each of these cases is separate problem).
However, I am trying to figure out how to perform t... |
I am creating a boosted regression model in R using
a binary target,
several string variables including missing values (as.factor) and
several continuous numerical variables with missing values imputed as a large negative number.
My problem is that the response values of the resulting model cannot be interpreted ... |
Following the discussion :
Here's [a link] How are the standard errors of coefficients calculated in a regression?
I've got a question . Why variance of theta (regression coefficients) in theory is calculated by multiplying sigma^2 and (XT * X) ^ -1. Where sigma^2 is variance of the residuals : SSE / n-1 ,(where n- nu... |
I have a dataset consisting of 12 subsets, each subset contains between 10 and 15 temperature observations from one person.
I would like to determine whether or not it is reasonable to assume that, within each subset (person), the temperature observations are normally distributed.
That is, I would like to be able t... |
In a seminar paper I'm discussing all possible matching routines. It turned out that there are quite many of them. Now I am looking for several answers:
First, I discovered that some routines happen to be combined with each other, e. g. Nearest neighbor- and Subclass matching (since there's an extra R-package I do not ... |
I am attempting to train a neural network to fit some data with the following architecture:
model = Sequential()
# layer 1
model.add(Dense(7, input_dim=X_train.shape[1], activation='linear'))
model.add(Dropout(0.5))
model.add(Dense(7, input_dim=X_train.shape[1], activation='linear'))
model.add(Dropout(0.2))
model.add(D... |
I have two binary time series, say df1 and df2. For each 'day' there could be 1 if the user had an activity that day, 0 otherwise. I want to compare the two time series (for two different users) to understand if there is a correlation between the two.
First question: does it make sense to use pearson correlation for b... |
I expect that this is a common issue and that I just need the correct terminology so that I can Google more efficiently. I'm interested in calculating an annual mean and standard deviation for a quantity $y$ that is sampled throughout a year. Due to logistical issues, there are far more samples in the summer than in th... |
I'm having trouble interpreting a question: Test the null hypothesis that the true (population) regression line passes through the origin, for the simple linear regression of Rigidity on Density. Be sure to state your null and alternative hypotheses clearly in terms of the appropriate model parameter.
I'm not very good... |
I'm new to deep learning and missed some intuition while learning Artificial Neural Network model building.
When I consider some Supervised ML's like linear regression, Naive Bayes or SVM etc, we split the dataset into training and test data set (lets keep the validation set concept aside for a while). Model is built f... |
I have two continuous time series of discrete events. The data from them are timestamps of occurences, e.g.
X = ['13:28', '18:35', '19:22', '19:58']
Y = ['14:28', '15:35', '19:11']
Basic simple approach:
Discretize the occurrences (e.g. indicating if during a specific hour, the event happened).
Apply Jaccard on t... |
I am building an LSTM that takes in time-series financial data. My dataset is made up of IDs (each ID is a certain stock), and timestamps. For each ID at each timestamp, there are a number of features and a label.
My LSTM takes in as input batches of shape (50, 25, 108). The 50 corresponds to 50 different IDs, 25 corre... |
I have some precision/recall data for an algorithm, run against multiple inputs $i$, where:
$\text{precision}_i = \frac{\text{matches}_i}{\text{generated}_i}$
$\text{recall}_i = \frac{\text{matches}_i}{\text{possible}_i}$
Where $i$ is a particular test input, and for each input we have an associated "desired"/ground-tr... |
I am trying to compare average calving intervals (number of days between two consecutive times that a cow gives birth) between different breeds of cattle.
The variable called "calving interval" is a discrete variable, and I believe it has a negative binomial distribution.
What would be a simple way to test if a variab... |
Does running a no-intercept model with multiple categorical predictors and interaction between the predictors result in valid estimates?
I am modeling differences within paired data and am using a no-intercept linear model. I have a continuous predictor (A) and a categorical predictor with three levels (B). I am also i... |
I am using deep q learning (output layer activation function is tanh) for a reinforcement learning agent to navigate in a grid. What it learns is not to hit the walls and other obstacles. If it hits something it get -0.9 reward and 0 otherwise. After sometime the agent begins to go one or two steps forward and then bac... |
I'm a psychology undergraduate and I would like to deepen my understanding of statistics beyond what is required for my studies. I'm looking for book suggestions dealing with Anova, Ancova, T-tests etc in a mathematical way. My goal is to understand the underlying concepts of the tests we use and the reasoning behind t... |
I am training a stacked LSTM that takes as input a sequence [1,...,n] and outputs a sequence [1,...,m], for m<n, to predict stock prices.
Upon training the model with multiple architecture nuances, I am getting the same result: the yhat sequences all have the same pattern.
What might be causing this?
*All input columns... |
In chapter 7 of Imbens and Rubin's (2015) book (referenchere), it shows that in a randomized experiment (without covariates) and given a regression function $Y^{obs}_{i}=\alpha+\tau W_{i}+\epsilon_{i}$, the OLS estimator of the treatment effect is:
$\hat\tau^{ols}=\dfrac{\sum^{N}_{i=1}(W_{i}-\bar{W})(Y^{obs}_{i}-\bar{Y... |
I found a problem, which says
Let $X_1,...,X_{n_1}\sim Poisson(\lambda_1), Y_1,...,Y_{n_2}\sim Poisson(\lambda_2), i.i.d$ and independent of each other.
$H_0:\lambda_1=\lambda_2, \ H_1: not \ H_0$.
Derive the Wald's test of size $\alpha$ for testing the hypothesis, when $n_1,n_2$ are large."
I've only learned abou... |
I am doing a sports analytics (Sabermetrics) project and wish to investigate the effect of jetlag on MLB players. Currently I am performing analysis on the individual player level rather than the team level. I have a set of players and their stats in non-jetlag games, and I also have their stats with 1 hour jetlag, 2 h... |
i am looking for a measure of variance of a dataset that doesn't get affected by the number of samples but explains the spreading of the values . Do you have anything in mind ?
Thank you
|
I'm trying to make a visualization of my home states' temperature ranges, but I'm not sure what the name of the plot I want is called. It's like a heatmap, but the test points with a value are located all over the place, and it's not a grid, it's more like a interpolation between the points for the colors.
Each of the ... |
I have the transaction history of users from 12 years. I want to predict the time till next purchase in R. Can we use Regression models to predict this continuous value (in terms of months). If so, what would the target variable be ? I have the frequency and recency of purchase for each customer.
Appreciate any sugges... |
Experimental setup
We have N individuals that underwent treatment A and N individuals that underwent treatment B. In each individual, we measure after treatment two variables X and Y. X and Y are both unitless.
There is no meaningful before treatment measurement and the data from the two treatment groups cannot be pair... |
Suppose you have a (simulated or real) sample consistent with some arbitrary $H_0$ (maybe something as simple as $\bar{x} = 0$ or something more complex involving a substantial number of parameters). Suppose as well that you have a statistic, call it $T(x)$, whose distribution is not easy to classify.
Because we can't ... |
TLDR;
Does anybody know what formula the National Institute of Standards and Technology used to compute autocorrelation confidence interval in the Heat Flow Meter case study? My program fails to compute the same values.
BACKGROUND
I am writing a computer program that can compute the autocorrelation statistical values o... |
Let's say you're trying to calculate the total number of donuts sold in NYC in any given month, how would you go about doing this?
What would be the most efficient way? This is an open-ended question I got in an interview, meaning you could make assumptions if you want.
I froze up and couldn't think of any good way to ... |
Recently, I came across a publication using a level/tile/contour plot to illustrate the relationship between two continuous variables and a continuous response (with the input variables on the x and y axes and the response plotted as a color). This struck me as a very intuitive way to plot this type of interaction, but... |
I have a set of data where I would like to do logistic regression modeling the odds of a binary outcome variable (Therapy), with Stage as an ordinal explanatory variable (0,1,2,3,4). I am using SAS. The output I have been given is this:
Odds Ratio Estimates and Wald Confidence Intervals
Odds Ratio Estimate 95% Con... |
I understand posterior distribution convergence to be something akin to: the point at which additional sampling wouldn't substantially change the nature (i.e., mean and variance) of the posterior distribution. Is that accurate?
|
What's The difference between the Adaline and Delta rules in Neural Networks ?
|
I'm trying to choose the best forecast for this blue line (time series with 550 observations). Its not stationary but it does have a unit root. AR processes dont seem like the best choice. Could you please help me brainstorm some functional forms that incorporate the unit root idea? Thanks!
|
My understanding is that when using a Bayesian approach to estimate parameter values:
The posterior distribution is the combination of the prior distribution and the likelihood distribution.
We simulate this by generating a sample from the posterior distribution (e.g., using a Metropolis-Hasting algorithm to generate ... |
I am confused with the structure of recurrent data that can be used with recurrent models. I know that in order to use the recurrent data models(Anderson-Gill (AG), Frailty , Wei, Lin and Weissfeld (WLW), and Prentice, Williams and Peterson models (PWP)) we need first to put our dataset in specific format such that we ... |
I red the following statement in a book:
"Marginal probability of C with respect to A" - but its the first time I come across this and am not quite sure of how I am supposed to interpret this.
Later on in the book it is denoted by:
$\sum_A P(A,C) = P(B)$
but I still have to admit I don't get how to think of it intuit... |
I am a bit confused on which ratios are being compared in a 2x2 contingency table for a Fisher Exact test.
In this question, the ratios are compared between columns. However, in this question, the ratios are compared between rows.
Which is the correct ratio comparison for Fisher Exact? The reason I ask this is to fig... |
I am building qq plots with a statistics package, however I notice my output is different than what I found in the econometric literature. For example, here is a qq plot from a publication I came across:
In this one the standardized residuals are on the Y axis. However, when I ran my package's built-in method for this... |
My $Y$ is a count variable and I am estimating it using a negative binomial function. I am not sure how I can decide which model is better. In the first model I am selecting a value for $k$, and the second the MASS package is estimating a value of $k$ for me.
Will
anova(mod1, mod2, test="Chisq")
work?
If so, which m... |
If my target variable has more 1's (say around 80%) than 0's then how do I handle such imbalanced data for building models using different methods such as GBM, RF, logistic regression, etc. Should I perform under sampling of 1's?
|
I came across a few articles here and there that conclude:
When the data (say variables X, Y) for an impulse response function are on log level, the y-axis depicts the % response of Y to a 1% shock by X.
Broadly speaking, I think the shocks in an IRF are one SD Choleski shocks, where the y-axis reflects responses in t... |
I did a set of hierarchical regression analyses. The main effect was non-linear (up one in the figure), but the moderating effect was linear (second one in the figure). How can I explain this changes?
|
I have timesheet data that shows per employee of a company whenever he has taken a holiday combined with some other information such as his age etc. The observations start in 2001 and in 2016. Of course employees only remain observed if they have not yet left the company. So the data contains for every employee an obse... |
I would like to ask someone who has an experience with the "Realized GARH" by Peter Hansen. I have 2 questions:
Is there a logical purpose to use realGARCH for 1 minute forecast?
How long could it take to train it using the Student likelihood?
|
I have some empirical data that naturally consist of clustered observations (typically 2-3 clusters) plus some noise mostly between clusters.
In R we can simulate data e.g. like two clusters of normal distributed data plus some random noise:
set.seed(8)
data <- c(rnorm(1000, 1, 1), rnorm(500, 25, 3), runif(100, 5, 20))... |
Using the same data, two different regression models are produced.
e.g
Regression 1: height= 5+ 3(father's height) + u
In regression two we have height= 0.02+ 5.1(father's height) + u
These models are different because in model 2, height was measured in feet.
Assuming these regressions used the same data, is the R-squ... |
I am analyzing the probability of default on loans with the aid of a binary logistic regression model. I have therefore fitted the logit of default: $log\dfrac{P(Y=1|\boldsymbol{x})}{1-P(Y=1|\boldsymbol{x})} = \boldsymbol{X\beta}$.
edited
The goal of the analysis is set up a model that can be used to classify borrower... |
I've been studying greenhouse gas fluxes in an aquarium experiment where water temperature changed over time (like outside). Treatments consisted of a control and a warmed (+3°C) situation. Measurements were performed fortnightly or monthly (the higher frequency measurements during biologically relevant seasons). In th... |
I have a dataset with about 5,000 often correlated features / covariates and a binary response. The data was given to me, I didn't collect it. I use Lasso and gradient boosting to build models. I use iterated, nested cross validation. I report Lasso's largest (absolute) 40 coefficients and the 40 most important featu... |
I have some time series (you can see its vizualization on picture above. It is hourly sales of some product. My goal is to make hourly prediction of its demand.I am confused, because at almost all points my time series is zero.
Could someone suggest which algorithm and loss function should i choose to be able to pre... |
Why is it that in repeated measures ANOVA if one measurement is missing, the entire case gets dropped?
If found the following explanation but don't really get what it means:
The problem is that repeated measures ANOVA treats each measurement as a separate variable. Because it uses listwise deletion, if one measurem... |
The image attached contains a part of derivation from my Basic Econometrics text book. ( deriving the estimator of standard error of regression)
My doubt is the following:
In equation (10) , the last term u bar, should be zero ? Because CLRM assumptions explicitly stated that E(u)= 0. Isn’t this equivalent to saying... |
I am trying to implement Protocol 3 mentioned in the paper On-line Prediction with Kernels and the Complexity Approximation
Principle. I have written the following code in R using polynomial kernel:
library(MASS)
Data<- read.csv("https://archive.ics.uci.edu/ml/machine-learning-databases/breast-cancer-wisconsin/wpbc.da... |
A statistical epidemiologist colleague of mine told me that in comparing spherical vs exponential kriging covariance functions, only the latter (i.e., exponential) function is generally a valid model.
Most papers I have read compare spherical vs. exponential covariance functions in relation to semivariogram fitting usi... |
I have compared different distance functions by computing the average tf/idf distance between documents. My results show a range between $10-15$ for the Manhattan and a range between $1-1.5$ for the Euclidean distance.
I am asked "what behaviour can we expect about the $L_1$ vs. $L_2$ norms as the dimensionality of t... |
I recently have a task related to non-stationary model in time series but I'm running out of ideas how to solve it, may be someone can help?
I am tasked to find the auto-covariance for the model
$$
W_t=Z_t - Z_{t-1}
$$
where $Z_t$ is an AR(1) model with parameters $-1<\phi_1<1$ and $\sigma^2$. And in particular, I mu... |
I have N graphs, they all have same topology,but they differ in vertices weight.
I would like to cluster these graphs such that graphs that their vertices has similar weights in similar positions are in same cluster.
Initially I was thinking to vectorize graphs(every element of vector is one vertice) and compute euclid... |
According to the law of total expectation (or iterated expectations), it is true that $E(A|B)=E(E(A|B,C)|B)$.
Why this is not equal to $E(A|B)=E(E(A|C)|B)$?
Why is it important that the first set of information is included in the second one? Can you provide an example to illustrate how important this mistake can be?
|
A number of lightbulbs have lifetimes X that are iid and exponentially distributed with a mean of 1/4. As a lightbulb fails, it is replaced with another until the bulbs run out. Using Chebyshev Inequality, estimate the number of lightbulbs we will need such that the probability that we have a functioning bulb at t = 10... |
I'd like to consult with you which statistical method I should use for the following study. (This is JUST AN EXAMPLE, thank you) The research hypothesis is that the proportion of male students increases with grade. At first, I investigated City A, and found that the proportions of male students in primary school, high ... |
Let $X_i$ be IID and $\bar{X} = \sum_{i=1}^{n} X_i$.
$$
E\left[\frac{X_i}{\bar{X}}\right] = \ ?
$$
It seems obvious, but I am having trouble formally deriving it.
|
I want to n-step ahead forecast a time series with the AR(4) model and a first order differenced time series. Now my question is, if I get the concept right. Im assuming, I have to do the following equations but I am not sure
The model itself:
X(t)-X(t-1)=a(1)(X(t-1)-X(t-2))+...+a(4)(X(t-4)-X(t-5))
=> X(t)=X(t-1)+a(1)(... |
Given some $s \in {[1,n]}$ and $n \in N$, $n\ge1$, what is the distribution of $X_i$ given that $\sum_{k=1}^{n} kX_k = s$, $\sum_{k=1}^{n} X_k = 1$, and $X_i \ge 0$.
If this is not a known distribution, how can I calculate the pdf/cdf?
Edit:
Thanks to whuber's help, I started looking into Dirichlet distribution. Indeed... |
Can any of our Monte Carlo experts explain the "unexpected" expectation at the end of this answer?
Ex post facto summary of the other question/answer: if $X_1,\dots,X_n$ are IID random variables and the expectations $\mathrm{E}[X_i/\bar{X}]$ exist, then a simple symmetry argument shows that $\mathrm{E}[X_i/\bar{X}]=1$,... |
this appears to be a quite difficult question. As we know, if 20% of the smokers developed lung cancer and 10% of the non-smokers developed lung cancer, then we say that cigarette smoking is associated with a 2-time (20% divided by 10%) relative risk of developing lung cancer. But if 0% of the non-smokers developed lun... |
When using Gaussian processes, the covariance matrix $\mathbf{\Sigma}$ is often defined via a covariance function $K$ as follows
$$
\mathbf{\Sigma}_{ij} = K(\underline{x}_i, \underline{x}_j)
$$
where $\underline{x}_i, \underline{x}_j$ are coordinates of two points in some space of interest, and belong to some finite se... |
The Rayleigh distribution has PDF f(x) =xe−$\frac{x^2}{2}$, x >0. Let X have the Rayleigh distribution. (a) Find P(1< X < 3).(b) Find the first quartile, median, and third quartile of X.
Alright, so the first part is quite easy-- it's just the integral from 1 to 3 of f(x), but the second part is tricky. I know F(x... |
I am implementing a clustering-based algorithm for non-stationary data stream.
Most concept drift techniques are based on change in classification output (or on its accuracy).
Is their a way for detecting concept drift using only the distance between centroid of clustering that evolved over time?
Do you think it is po... |
So ive been struggling with the concept of null hypothesis and getting it laid out properly. I have a question for class that deals with it and I was wondering if im on the right path. The question is:
a. Write the null and alternative hypotheses for a test of whether the marketing campaign was successful. (I.e., whe... |
I have the following model in R to estimate the change in mosquito abundance each year when controlling for climate variables:
modela <- lm(count_trapnights ~ temp + rain + year, data=wnv)
summary(modela)
I am running regression diagnostics and my RVF plot (shown below) looks like it may have some slight curvature. I'... |
My research project is looking at various measurements that might predict wheat yield better than tiller (stem) counts. Some of my site-years have a measurement that requires a polynomial regression for best fit to yield. The nature of these measurements (counts, sensor readings, and percentages) create a huge differen... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.