instruction stringlengths 9 38.7k |
|---|
I am creating an item selection system that allows a group of people to vote on their favorite item by ranking it between 1 (no good / least favorite) to 5 (very good/favorite).
I received a bunch of votes and now I need to select one. One option is to sum their scores from all votes or, perhaps better, sum the square... |
I have a data set detailing a large number of cricket games (a few thousand). In cricket "bowlers" repeatedly throw a ball at a succession of "batsmen". The bowler is trying to get the batsman "out". In this respect it's quite similar to pitchers and batters in baseball.
If I took the whole dataset and divided the tota... |
Some background:
I'm trying to build a Bayesian inference model for the probability that an event has occurred based on observed data. As of now I am assuming the data is normally distributed (will check later, it will likely be Poisson).
I'm struggling to calculate values for P(E | H). The hypothesis being tested (H) ... |
I have applied Fama-Macbeth cross-sectional regression on Fama and French five-factor model (2014). On the left-hand side are the portfolio returns for sixteen size - B/M portfolios. On the right-hand-side are five the factors i.e. market, size, investment, and profitability factor.
The issue I am facing is that in 16... |
I asked a question here how can i see if my data are coming from two different population? and seems like I cannot correctly communicate and the person who is writing to me is making me confused.
So I try to explain what I want , if you know any method, please just tell me the method, I will try to do it myself.
I ha... |
I have a random variable $t$ that follows an exponential distribution with rate $\lambda_1$ in the interval $[0,t_1]$ and an exponential distribution with rate $\lambda_2$ in the interval $[t_1,\infty]$. I want to estimate the probability that there is no event in the time interval $[0,t_2]$, where $t_2>t_1$.
Here is h... |
Some people I know conducted a survey. One of their goals is to estimate the hourly salary of a group of people. There are two questions in the survey that, supposedly, could answer this question:
What is you weekly salary?
How many hours do you work per week?
Well, this is easy, right? I have the salary per week and... |
I have to assign marketing budget to different marketing programs across regions for the next fiscal year. For this, I want to assign weightages to different parameters that might affect the outcome of spending. The data I have is as follows:
- last 2 years outcome of some (not all) marketing programs (at program level... |
When training a multinomial classifier (7 different classes) with different feature sets, I am noticing that the learning curve error always peaks around the number of training samples that are equal to the number of features used in training. I am using k-fold cross validation with k=10 for generating the learning cur... |
I will note before starting that this question is related to my own work, in which i am aiming to extend and replicate the methods used in Attanasio et. al. (2015), "Human Capital Development and Parental Investment in India"**.
I am carrying out a large confirmatory factor analysis where the relationship between obser... |
I am fitting a model with a dichotomous outcome, large number of subjects measured at differing visit (visit 1-14) with four other categorical and cont outcome variable....the main question is if the probability of infection varies in one variable of interest....thoughts on model selection GLMM vs GEE?
|
My Tensorflow loss is not changing. This is my code.
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import tensorflow as tf
import numpy as np
import math
import os
import nltk
import random
import tflearn
batch_size = 100
start = 0
end = batch_size
learnin... |
I'm reading this article on the difference between Principle Component Analysis and Multiple Discriminant Analysis (Linear Discriminant Analysis), and I'm trying to understand why you would ever use PCA rather than MDA/LDA.
The explanation is summarized as follows:
roughly speaking in PCA we are trying to find the a... |
Lets say you do a T test for difference in means with alpha at .05. If the p value is .08 and you want to report this in words to laymen, non-statisticians
would you say:
The difference in means are not statistically significant at a 5% significance level
or would you say something about the 95% confidence intervals u... |
Suppose we have a sequence of tuples of random variables $(X_i,Y_i)$ where $X_i \sim \text{Bern}(p_i)$ and $Y_i \sim \text{Bern}(q_i)$ are correlated, where $p_i$ is unknown but $q_i$ is known. We get to observe $n$ of these tuples $(x_i,y_i)$. The problem is to optimally estimate $p_i$ as a function of $q_i$. Any refe... |
I'm running a Bayesian model and I'm stuck on some aspect of the model that I have difficulty to understand. Since my knowledge about Bayesian inference is limited, I would like to have some good references to understand Bayesian statistics.
People are teaching Bayesian statistics could be interested in how to think i... |
I have a data looks like this ( I used log2 to normalise my data)
zeros means missing values. is there a way to impute it which does not interrupt statistical test ?
df<- structure(list(Group = c(1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L,
1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L,
1L, 1L, 1L, 1L, 1L, 1... |
I was wondering if someone on here could help
I recently ran a Spatial Durbin Regression model in R which came back with two of my three independent variables had significant beta coefficients. A colleague then advised me that I should run a sensitivity test using a negative binomial model to see if I get the same resu... |
Definition of the problem:
I am having some data with lets say 2 features but there not labeled.
I manually create weights and label the data with a score
I present the data to a user with order and the user gives his own score to some of the data.
By the feedback of the user I want to update the weights, assign the... |
I am working on the Pareto model. After applying Reduced log likelihood for ECM algorithm , the MLE values of one of the parameters is negative. Can this be accepted?
|
I have a time series about demand of a product with many zeros.
I was reading the forecasting book by Hyndman and Athanasopoulos [1] (section 2.3), which mentioned the average method for forecasting time series.
I was wondering if is it possible to use a median method for forecasting time series?
[1] Hyndman, R.J. a... |
I'm looking for some advice as to how to best show graphically the results of my GLMER model. In my model I try to explain Y (a count variable for a business related outcome), in terms of X, Xsquared, and FirmSize, with random effects for Industry/Firm, by year. My results, here below, appear to show a positive relatio... |
I am trying to determine the accuracy of a set of forecast values. Not the accuracy of the Forecast to the Actuals (if that makes sense).
Here is my data sample:
Set Forecast Actual O/(U)
1 3.1 2.1 1.1
2 2.5 4.6 (2.1)
3 1.9 5.3 ... |
For my research, I am using Gaussian Process Regression using 4-D inputs and 3 outputs. I have 3 separates GPs for the 3 separate outputs. I am using the Matern 3/2 covariance function. I am implementing everything in MATLAB. For real time purposes, I need the prediction to be carried out in around a millisecond (the p... |
I know how to implement linear objective function and linear boosts in XGBoost. My concrete question is: when the algorithm it fits the residual (or the negative gradient) is it using one feature at each step (i.e. univariate model) or all features (multivariate model)?
Any reference to documentation about the linear b... |
Hello everyone this is my first question here!
I want to study the relationship between gestational age, birth weight, etc and results on different language tests in very preterm infants. In order to choose the right stats test I need your help in determining if the following data is considered discrete.
In one of the ... |
This is a follow-up question to one I asked on Math.SE:
What are the measurement units of Fisher information? (Dimensional Analysis)
When doing calculations with Fisher information in practice, does one report the values of the Fisher information in terms of the units of the parameter being estimated? Or does one tre... |
i read that sigmoid function will kill the gradient as a result the network will not learn
and i read that in ReLU function a large gradient flowing through a ReLU neuron could cause the weights to update in such a way that the neuron will never activate
and that may lead “dead” neurons.
so, are they the same?
|
I got this exercise from the book of Paul Newbold:
A pharmaceutical manufacturer is concerned that the
impurity concentration in pills should not exceed 3%. It
is known that from a particular production run impurity
concentrations follow a normal distribution with a
standard deviation of 0.4%. A random sample of 64 pil... |
I want to fit a second degree polynomial to data from a fractional factorial design in five dimensions. Because of the cost of trials, I am initially only going to do eight runs. So I have fewer observations than the full number of first and second degree terms, including interaction terms.
My goal is to find a local ... |
According to Wikipedia, the parameter in a Bernoulli distribution should be $0<p<1$.
I am reading this famous paper proposing Hierarchical Dirichlet Process, and on page 1580, A.6 and the sentence right after it, they state
$$q(s_j|\alpha_0)\propto\Bigg(\frac{n_{j..}}{\alpha_0}\Bigg)^{s_j}$$
but $n_{j..}$ is an integ... |
It says on Wikipedia that:
the mathematics [of probability] is largely independent of any interpretation of probability.
Question: Then if we want to be mathematically correct, shouldn't we disallow any interpretation of probability? I.e., are both Bayesian and frequentism mathematically incorrect?
I don't like philo... |
My R code:
library(rugarch)
rtn<-rnorm(500)
vxr<-rnorm(500)
specgarch <- ugarchspec(variance.model=list(model="sGARCH",
external.regressors=matrix(vxr)),
mean.model=list(armaOrder=c(0,0),external.regressors=matrix(vxr)),
distribution="norm")
garchfit <- ugarchfit(data=rtn, spec=s... |
Consider the following code in R:
data = c(603, 103, 225, 201, 1445, 1077, 1309, 6085, 469, 2309)
f = fitdistr(data, densfun="gamma")
rate = f$estimate["rate"]
loglik = f$loglik
This generates the following error:
Error in stats::optim(x = c(603, 103, 225, 201, 1445, 1077, 1309, 6085, :
non-finite finite-differenc... |
I have two variation of the same problem.
A) Assume you sample $m$ points, $x_1,x_2,...x_m$, drawn i.i.d from a continuous distribution of a random variable $X$. We reorder the points so $x_1<x_2<...<x_m$. You may assume there exists a density $f(x)$. To each point you assign the weight (or probability) of the interva... |
As the title, I am looking for the concept of this term. However, I failed to obtain a clear explanation on the web.
Any comments would help.
|
To prevent any confusion, I am not considering the Bayesian interpretation here (though anyone is welcome to include that in an answer if it helps clarification).
The Wikipedia page on the "classical definition of probability" states that
The classical definition of probability was called into question, [and] The fre... |
My question is: what is the right sequence of analyzing? And is it the right way to ggplot errorbars from that model?
1) Setup model
I expect possible interactions between treatment, race, age and time, so i start with the full model:
dependent variable ~ time * treatment * race * age, random=~subject
time: 7 tim... |
Does it make sense to run partial least squares (PLS) regression on a data set where there are more dependent variables (output Y(2000*16)) than the independent variables(input X(2000*4))?
I'm using plsregress in Matlab.
|
I want to analyse the interactions between the following data:
tourist arrivals (my variable of interest)
income of the tourists
accomodation capacity (in number of rooms in hotels)
a confidence index (an index asking "how do you evaluate your current financial situation?")
My hypothesis is that tourist arrivals are ... |
I am trying to solve an problem from Rice's Mathematical Statistics and Data Analysis (Problem 9.41) and I got stuck doing some computation. Namely, let $X_i\sim\text{Bin}(n_i,p_i)$ for $i = 1,\dots,m$. I am supposed to devise a log-likelihood ratio test for the null hypothesis $H_0: p_1 =\cdots=p_m$, alternative being... |
Empirical CDF functions are usually estimated by a step function. Is there a reason why this is done in such a way and not by using a linear interpolation? Does the step function has any interesting theoretical properties which make us prefer it?
Here is an example of the two:
ecdf2 <- function (x) {
x <- sort(x)
n... |
I'm sure there's a name for this concept, but I can't find it (I'm not familiar with statistical terms):
Suppose I have a series of numbers, and an average of those. I'm wondering how correct this average is to predict future values. Say the average is 5, then if my series all consisted of fives, I would say that the ... |
I'm a chain store and have many stores across the country that all sell a particular shampoo product P.
I have made a plot as shown in the image below. For example, 30 stores each sold 1 of P in the past two weeks. The sum of the areas of the bars is the total number of P sold across all stores in the past two weeks. ... |
The theorem states that $\tilde Y=T(Y)$ is a sufficient statistic for $X$ iff $p(y|x) = h(y)g(\tilde y | x)$ where $p(y|x)$ is the conditional pdf of $Y$ and $h$ and $g$ are some positive functions.
What I'm wondering is what role $g$ plays here. I am trying to prove that something is NOT a sufficient statistic and if ... |
I have two IRT adaptive online ability tests.
Both have a relatively large item bank (n>200) relatively few items displayed in a test (n=25) and quite a lot of test results (n>10k) that I got using adaptive testing - so I have two large, but sparse response matrices.
My hypothesis is that there is a significantly large... |
For example, in 10-fold cross validation, should one randomly draw an integer (with uniform probability) between 1-10 for each data point, or should you make up a vector of fold indices of equal length to the data, and randomly permute them? In the latter case, what do you do if the number of data points is not divisib... |
I am working with economic models which measure the value of information associated with medical research.
What I know about the functional form:
The amount of information generated by a hypothetical medical trial begins at zero for a trial with zero sample size ($n=0$) and increases with sample size until it reaches ... |
Our example person Azra has assigned (open-ended categories of her own choosing) to a fixed set of 35 items, recorded as logical values (TRUE, FALSE).
We have summarised this data matrix into a co-occurence matrix of items x items, where each cell counts the number of categories that are assigned to both items of the i... |
I have a questionnaire with Google translations where some of these translations are correct and some are not. Students had to tick if they agree or disagree with these translations.
Now I don't know which method to use to analyse these results. I would like to group the correct translations and the incorrect ones and ... |
I have obtained genes with ratios. As an small example you can see my data below
Gene Control1 Control2 Control3 Treated1 Treated2 Treated3
pps-1 324680000 211350000 356350000 269770000 258080000 292830000
R11A8.7 477490000 610780000 539550000 533590000 530810000 578290000
ugt-21... |
I'm designing an experiment where I observe gene expression for cells that either have a purturbation, or nothing at all (control).
The hope is to analyze as many perturbations as possible.
Since I intend on comparing the perturbation samples to the control samples, my intuition is that I get a lot of value from doing... |
So I'm looking at the number of lion-livestock predation incidents in one area. I created a loop which extracts 390 lion attack days and 390 random non-attack days from 2 data sets to see how climatic variables affect attacks. Obviously each time I run a binomial GLM I get different results based on the different non-a... |
I've built a model that tries to evaluate the percentage chance of winning for all NHL games. For example:
Ana vs Bos (Bos- 57% chance of winning)
Chi vs Mtl (Mtl - 51% chance of winning)
LA vs Det (Det- 80% chance of winning)
The model is updated daily to take into account what happened in the latest games. At th... |
I have modeled a relationship using beta-regression in the betareg package for R. I can predict values and associated variances of those predictions using the predict function in R. I'd like to convert these variances to standard deviations. This seems striaghtforward, just take the square root of the variance. However... |
I wonder what the difference between the terms "classifier" and "model" is with relation to classification methodologies for machine learning.
Thanks in advance for your answers!
|
Let $X$ be a log-normal variate and $Y = aX + b$ is the affine transformation X.
Is $Y$ log-normal? I suspect it is not.
Since $X$ is log-normal, its expected value is
$$
E[X] = \exp(M + S^2/2)
$$
The expected value of $Y$ is:
$$
E[Y] = aE[X] + b = a \exp(M + S^2/2) + b
$$
To characterize $Y$ as a log-normal variate I ... |
I have two models that predicted a value that is area based. I want to measure the RMSE to compare the models, but I would like it to be weighted for area so that errors on a large area are given more weight then errors on a small area. I have come up with the following function in R:
weighted.rmse <- function(actual, ... |
I want to create a simple statistical model for the bowler versus batsman contest in a game of cricket (it's similar to pitcher versus batter in baseball). Let's say the simple the model is this:
One bowler bowls one ball to one batsman. There are 3 possible outcomes:
The batsman is out and scores 0 runs
The batsman i... |
I have the typical linear regression model:
$$y_i = x_i^T\beta + e_i,$$
where $e_i\sim N(0,\sigma^2)$, iid. However, in my case, some (not all of them, only around 1/3 of them) response variables $y_i$ are right-censored. As far as I understand, I cannot apply LASSO (R package lars) directly. What alternative methods (... |
I am interested in model monitoring techniques. To be clear, for production of a statistical model, let's say GLM, with a set of covariates (continuous). The model will go into production (live scoring of data) soon.
I have used PSI in the past, with some success. It is at a high level. I have been thinking about usin... |
Multi-arm bandits work well in situation where you have choices and you are not sure which one will maximize your well being. You can use the algorithm for some real life situations. As an example, learning can be a good field:
If a kid is learning carpentry and he is bad at it, the algorithm will tell him/her that h... |
I'm working on a propensity score analysis where the treatment variable is continuous (a score from 0 to 100, let's say) rather than binary (treatment vs. control). I've been reading Guo & Fraser's textbook Propensity Score Analysis: Statistical Methods and Applications (2nd ed.) but the process for covariate balancing... |
Consider 3 iid samples drawn from the uniform distribution $u(\theta, 2\theta)$, where $\theta$ is parameter. I want to find
$$
\mathbb{E}\left[X_{(2)}| X_{(1)}, X_{(3)}\right]
$$
where $X_{(i)}$ is order statistic $i$.
I would expect the result to be
$$
\mathbb{E}\left[X_{(2)}| X_{(1)}, X_{(3)}\right] = \frac{X_... |
I have a matrix of (scaled) co-occurence counts which I would like to summarise using (classical, i.e. PCA-related) Multi-Dimensional Scaling (MDS), and then rotate (with varimax(), quartimax(), or really any other optimisation routine).
Let Azra be the matrix of (scaled) co-occurence counts:
Azra <- structure(c(1, 0.0... |
Trying to get the Bayes Factor for a correlation between two variables in my data, I tried three different functions. All implement the Jeffreys–Zellner–Siow (JZS) prior, but I get quite different results with the three approaches. Two questions:
Is this suspicious, or is it reasonable that they produce different valu... |
I am analyzing data from a representative cohort (>10,000 persons, 10 years follow-up) and I would like to perform a retrospective cohort study comparing the effect of a treatment on the outcomes.
Although the population is representative, applying regression models solely might introduce a selection bias because thes... |
I used JMP to fit logistic dose-response curves to assay data, and used these curves to predict EC50 values. The EC50s are concentrations for different plant compounds. I want to find out statistically if one plant compound has a lower or higher EC50 than another. I tested the compounds on several annual weeds and plan... |
I've been following instructions on how to use the Kalman filter and came across the following code which uses the Nile data and produces a plot.
model_Nile <- SSModel(Nile ~ SSMtrend(1, Q = list(matrix(NA))), H = matrix(NA))
model_Nile <- fitSSM(model_Nile, c(log(var(Nile)), log(var(Nile))), method = "BFGS")$model
o... |
I am using the rugarch package in R to forecast volatility using 5 minute data. The package has an a conditional variance model exclusively written for high frequency data, the Multiplicative Component Garch, I know that.
The thing is that I invested a whole month to to find tick data and transform them to 5 minute in... |
I've implemented a rather simple stacked autoencoder using lasagne and Theano
from functools import reduce
import itertools
import numpy as np
import theano
import lasagne
This is how I initialise the weights.
class SigmoidInit(lasagne.init.Initializer):
def __init__(self, n_hid, n_vis):
"""
:typ... |
Suppose you have a set of data (eg. [a, b, a, a, b, b, etc.]), and you have the suspicion that the set of data follows the binomial distribution.
Your Null Hypothesis is: The probability of success p=0.6.
You run a binomial test on the data with a probability of success p=0.6, and the resulting P-value of the test is ... |
So I have 110 participants in a survey. Each participant was given the same 7 pieces of information and then asked to rate how that piece of information was more or less likely to do a task on a 10 point scale. They were asked this each time they were given a piece of information.
So my independent variables are the 7... |
There are so many regularization techniques, it's not practical to try out all combinations:
l1/l2
max norm
dropout
early stopping
...
It seems that most people are happy with a combination of dropout + early stopping: are there cases where using other techniques makes sense?
For example, if you want a sparse model y... |
Let $(\Omega,\mathscr{F},\mu)$ be a probability space, given a random variable $\xi:\Omega \to \mathbb{R}$ and a $\sigma$-algebra $\mathscr{G}\subseteq \mathscr{F}$ we can construct a new random variable $E[\xi|\mathscr{G}]$, which is the conditional expectation.
What exactly is the intuition for thinking about $E[\x... |
From N=30 subjects, I have the following distribution of responses to a certain measure of musical expertise (higher=more musical) (see histogram below). I would like to look for correlations between this measure and others, or use it as a regressor in other analyses.
1) Since this distribution is by no means normal, ... |
I performed a negative binomial regression and here is my output (variable names changed from my original output):
Estimate Std. Error z value Pr(>|z|)
(Intercept) 4.041e+00 8.978e-02 45.006 < 2e-16 ***
langB -1.143e-01 1.181e-01 -0.968 0.... |
We have data from the border firewalls pertaining to all ports used on our networks. For example, we have counts of all connection attempts to all ports each day on our networks.
date, port, count
8/17/2016,23,123444523
8/17/2016,80,45653345
...
8/18/2016,23,244533556
...
We are trying to create normal patterns around... |
I have been wrestling with some model problems for a few weeks now and would like some help.
I am trying to determine whether fish catch rates have changed following an event using GAMM. Because catch rates are highly seasonal, Day of year (DOY) is used as a smoother. Fixed effects include season, pre/post event, and... |
I have some pre-treatment variables which are significantly associated in a cox model with progression-free survival (PFS) in a medical study.
I was wondering if taking a defined cutpoint (for example 3 months or 6 months PFS) and classifying patients according to progression in these time period is possible to do a lo... |
Currently I'm working on my master thesis about the application of data mining in football, I'm trying to predict matches based on some stats of the two involved Teams (using RapidMiner).
My use case is the German Bundesliga and I will predict the last season (15/16) based on the three seasons before (12/13 to 14/15); ... |
The assumption $E(u)=0$ says that the distribution of the unobserved factors in the population is zero. It just doesn't make any sense to me. I really can't figure it out. In my textbook the assumption is illustrated by the following example:
$yield = B_0 + B_1fertilizer + u$
In $u$ factors like rainfall, land quality,... |
I have become aware of Clark & McCracken (2001) showing that the asymptotics of the Diebold-Mariano test will potentially collapse when comparing forecast accuracy of nested models (such as GARCH / GJR-GARCH / APARCH).
How badly will this affect my results?
References:
Clark, Todd E., and Michael W. McCracken. "Tests... |
I've been looking at measures of variable importance for a random forest model - and was wondering if there are ways in which you can track how the variable importance shifts as the model is applied to datasets in the future.
The purpose of this question is to gain information as to whether a variable that was very imp... |
Let $X \sim N(0, \Sigma)$ be a $d$-dimensional Gaussian random vector. Suppose I have $n$ samples $X_1, \ldots, X_n$.
Consider the large sample regime where $d$ is fixed and $n$ goes to infinity, the MLE estimator of $\Sigma^{-1}$ is $\hat{\Sigma}^{-1} = (\frac{1}{n}\sum_{i=1}^nX_iX_i^\top)^{-1}$.
My question is how ... |
This is my first question on Cross Validated so please bear with me if my question is lagging in any dimension.
My question regards how to evaluate a Jacobian matrix when one variable is binary. I have googled quite extensively but found no answer.
Setup:
I have three variables $p$, $r$ and $s$. $p$ and $r$ come from ... |
I have created a trading strategy which operate every single day on the DAX 30, for the last 1700 trading sessions (some years). I have the daily returns of my strategy and also the daily returns of my index. I'm using R, therefore i can get sd, mean, var ecc...
The big issue that impresses the market watchers and fina... |
I estimate the following model for estimating the standard errors for random coefficients:
library(nlme)
Model1 <- lme(MRPK ~ 1, random = (~1|industry/id), data=Sample_Data, control=lmeControl(opt='optim'), method="REML")
Model1$apVar
I am getting the following error message: "Non-positive definite approximate varian... |
I am considering taking a course in generalized linear models at an American university this year. I have good knowledge of probability at the level of Ross and also Tsitsiklis . My calculus and linear algebra knowledge I am quite confident in. For any instructors of such classes or students that have taken the class, ... |
My problem is the following, my data has a lot of branch off points and the tree grows very rapidly. The end result is not readable, the end nodes are overlapped and even conversion to rules is more or less useless.
I am using the rpart package.
#Scoring model
d = sort(sample(nrow(Memmbers),nrow(Memmbers)* .6))
#sele... |
This is a beginner's questions about statistical tools.
We have a spreadsheet with many columns from a survey.
The first few columns describe each individual:
Gender (discrete values Male, Female)
City (discrete values X,Y,Z)
College Year (discrete values 1,2,3,4)
BMI (continuous values in the range 10-50)
Then there... |
I'm doing an internal validation of a binary logistic regression model. My goal is to provide clinicians with accurate predictions of baseline risk in untreated patients. There are no sources of data for an external validation.
My statisticians have run 500 bootstraps and calculated "bias-corrected" predicted probabil... |
I want to do systematic review and meta-analysis but I am facing difficulties: how to take adjusted odds ratio (AOR) when studies classify the explanatory variables differently? For example one study may put the AOR for education in three ways — "No education" as a reference category, "Primary education" with AOR (CI)... |
Let $X$ be for example your number of days remaining to live. A doctor 1 evaluates the distribution of $X$ as a Gaussian: $P(X)\sim\mathcal{N}(\mu_1,\sigma_1)$. Another independent doctor 2 evaluates $P(X)\sim\mathcal{N}(\mu_2,\sigma_2)$. Both doctors are equally reliable. How to combine both information?
In this blog ... |
Let $x = (x_1, \ldots, x_n) \sim \mathcal{N}(\mathbf{\mu, \Sigma})$ be a $n$-dimensional multivariate normal random variable.
Are there efficient techniques for computing $\mathbb{E}(\min_i x_i)$?
The best I'm coming up with right now is straight MC integration, or maybe HMC sampling of the minimum itself, but I'm loo... |
$\newcommand{\E}{\mathbb{E}}$
Question: If we have a sequence of $\mathbb{R}$-valued random variables $X_n$ which converge in the metric space of random variables defined by the energy distance to the $\mathbb{R}$-valued random variable $X$, i.e. $$D(X_n,X) \to 0$$ then is this equivalent to the sequence $X_n$ conver... |
I need to generate a sequence of pseudorandom numbers with a period larger than $2^{80}$, using a seed larger than 80 bits, on a 32-bit embedded microprocessor. What are my possible options (in terms of PRNGs), and which one is the fastest. The PRNG should pass the NIST 800-22 randomness tests.
|
$\newcommand{\E}{\mathrm{\E}}$
$\newcommand{\Cov}{\mathrm{Cov}}$
$\newcommand\abs[1]{\left|#1\right|}$
Consider a Wiener process $W=(W_t,t\in\mathbb{R}_+)$. I want to calculate $\Cov(W_t,W_s),s\leq t$. The text I am reading says the following:
(...) and $W$ is a Wiener process with the $W_t$ jointly Gaussian, $W_0=0$,... |
Suppose I have a bunch of data on whether people like different TV shows. I have a bunch of data about whether particular viewers like particular TV shows.
For every viewer, I also have their answer (as a score from 1 to 5) to the question “How much does the quantity of explosions in TV shows you watch affect your enjo... |
This is possibly a silly conceptual question, ... but anyway:
Imagine I have a function:
$f = F(\mathbf{x}) = F(x_1,x_2) = ax_1^2 + bx_2^3,$
where $x_1,x_2 \sim N(0,1)$ for example.
For a naive uncertainty propagation I can MC (Monte Carlo) sample $x_1$ and $x_2$, and find:
hist($f$) = $p(f)$ (unnormalized),
by passin... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.