# 624 search results for "knitr"

## Linear models with weighted observations

September 4, 2015
By

In data analysis it happens sometimes that it is neccesary to use weights. Contexts that come to mind include: Analysis of data from complex surveys, e.g. stratified samples. Sample inclusion probabilities might have been unequal and thus observations from different strata should have different weights. Application of propensity score weighting e.g. to correct data being

## Free R Help

September 3, 2015
By

Today I am giving away 10 sessions of free, online, one-on-one R help. My hope is to get a better understanding of how my readers use R, and the issues they face when working on their own projects. The sessions will be over the next two weeks, online and 30-60 minutes each. I just purchased Screenhero, The post

## Correction For Spatial And Temporal Auto-Correlation In Panel Data: Using R To Estimate Spatial HAC Errors Per Conley

September 2, 2015
By

Darin Christensen and Thiemo Fetzer tl;dr: Fast computation of standard errors that allows for serial and spatial auto-correlation. Economists and political scientists often employ panel data that track units (e.g., firms or villages) over time. When estimating regression models using such data, we often need to be concerned about two forms of auto-correlation: serial (within … Continue reading...

## GEOSTAT 2015: a write-up

August 30, 2015
By

The week before last I attended the GEOSTAT summer school in Lancaster. GEOSTAT is an annual week-long meeting devoted to ‘geostatistics’ (or ‘spatial statistics’ - we’ll come on to the difference subsequently). Having seen the impressive range of materials from previous ‘GEOSTATs’, I was greatly looking forward to the event as a hub of learning, research and community-building, organised...

## Advanced Tips and Tricks with data.table

August 30, 2015
By

Tips and tricks learned along the way 1. DATA STRUCTURES & ASSIGNMENT => Columns of lists => Suppressing intermediate output with {} => Fast looping with set => Using shift for to lead/lag vectors and lists => Create multiple columns with := in one statement ...

## Bio7 2.3 Released!

August 28, 2015
By

28.08.2015 As a result of the useR conference 2015 with fantastic workshops and presentations where I also presented my software I released a new version of Bio7 with many improvements and new features inspired by the R conference and important for the next ImageJ conference 2015 where I will give a Bio7 workshop. For this

## Five Interactive R Visualizations With D3, ggplot2, & RStudio

August 24, 2015
By

Plotly has a new R API and ggplot2 library for making beautiful graphs. The API lets you produce interactive D3.js graphs with R. This post has five examples. Head to our docs to get a key and you can start making, embedding, and sharing plots. The code below produces our first plot. library(plotly) set.seed(100) d <- diamonds plot_ly(d, x = carat,

## Is Bayesian A/B Testing Immune to Peeking? Not Exactly

August 20, 2015
By

Since I joined Stack Exchange as a Data Scientist in June, one of my first projects has been reconsidering the A/B testing system used to evaluate new features and changes to the site. Our current approach relies on computing a p-value to measure our confidence in a new feature. Unfortunately, this leads to a common pitfall in performing A/B...

## R packages for undergraduate stat ed

August 9, 2015
By

The other day on the isostat mailing list Doug Andrews asked the following question: Which R packages do you consider the most helpful and essential for undergrad stat ed? I ask in great part because it would help my local … Continue reading →

## Just another way to make a R flavored blog

August 6, 2015
By

This post is in active development! image source This usually is "echo=FALSE" rm(list = ls()) library("printr") knitr::opts_knit\$set(root.dir = normalizePath("..")) Considerations Use h2 ## in R files to spin, because h1 is reserved for title post. At the begin of R script write a chunk of R code loading the print package This post have some considerations to have when write a post via: r...