Package crimcv. January 25, Index 6. Fits finite mixtures of Zero-inflated Poisson models

Similar documents
Package SvyNom. February 24, 2015

Package timeseq. July 17, 2017

Package deseasonalize

Package PersomicsArray

Package reddprec. October 17, 2017

Package evenn. March 10, 2015

Package dice. February 15, 2013

Package EILA. February 19, Index 6. The CEU-CHD-YRI admixed simulation data

Package gamesga. June 13, 2017

Package randomnames. June 6, 2017

Package linlir. February 20, 2015

Package IQCC. R topics documented: November 15, Title Improved Quality Control Charts Version 0.7

Package ScrabbleScore

Package rreg. January 18, 2018

Package Rd2md. May 22, 2017

Package RVtests. R topics documented: February 19, 2015

Package iterpc. April 24, 2018

Package countrycode. February 6, 2017

Package ImaginR. May 31, 2017

Package countrycode. October 27, 2018

Package rtide. May 10, 2017

Package forestmodel. R topics documented: April 16, 2017

Package gamesnws. February 15, 2013

Package tictactoe. May 26, 2017

Package pedigreemm. R topics documented: February 20, 2015

Package docusignr. October 22, 2017

Package ContourFunctions

Package twilight. February 15, 2018

Package ravis. August 29, 2016

Package beadarrayfilter

Package GiniWegNeg. May 24, 2016

Package GiniWegNeg. January 13, 2016

Package ROpenDota. R topics documented: May 16, Type Package Title Access OpenDota Services in R Version 0.1.1

Package Anaquin. January 12, 2019

Why Should We Care? Everyone uses plotting But most people ignore or are unaware of simple principles Default plotting tools are not always the best

NCSS Statistical Software

Package plotpc. September 27, Index 10. Plot principal component loadings

4. Subtracting an even number from another even number gives an odd number. 5. Subtracting an odd number from another odd number gives an even number

Package hexsticker. R topics documented: March 5, Title Create Hexagon Sticker in R Version 0.4.3

Package motifrg. R topics documented: July 14, 2018

Package rwavelet. September 12, 2018

Octave Functions for Filters. Young Won Lim 2/19/18

Visual Cryptography. Frederik Vercauteren. University of Bristol, Merchant Venturers Building, Woodland Road, Bristol BS8 1UB.

RSM Interpretation Pretest Tutorial

Package bioacoustics

Why Should We Care? More importantly, it is easy to lie or deceive people with bad plots

Lecture 1, CS 2050, Intro Discrete Math for Computer Science

What Limits the Reproductive Success of Migratory Birds? Warbler Data Analysis (50 pts.)

Physics 253 Fundamental Physics Mechanic, September 9, Lab #2 Plotting with Excel: The Air Slide

A Closed Form for False Location Injection under Time Difference of Arrival

A year ago I investigated a mathematical problem relating to Latin squares. Most people, whether knowing it or not, have actually seen a Latin square

Copyright 2009 Pearson Canada Inc., Toronto, Ontario.

Package Guitar. October 3, 2018

Addis Ababa University New Mexico State University in collaboration with the Metal Engineering Corporation Systems Engineering Initiative

Analog Lowpass Filter Specifications

IDEOLOG.PAS: Ideal Filters and their Approximations. 1. Page Parameters 1 SPECIFY THE PAGE PARAMETERS. Do you want PostScript Y/N?

Package ASIP. May 11, 2018

Basic Use of XCMS -- Local. Xiuxia Du Department of Bioinformatics & Genomics University of North Carolina at Charlotte

OROGO WELL MATERIAL AND CORE SAMPLING POLICY

Transformer Selection Problem

Package garfield. March 8, 2019

Entering Checkpoint Data

Working at Weiland s please read this first:

Supporting Information For: Vibronic Wavepackets and Energy Transfer in Cryptophyte. Light Harvesting Complexes

Section 7: Using the Epilog Print Driver

Remote Sensing. The following figure is grey scale display of SPOT Panchromatic without stretching.

Exercises for Introduction to Game Theory SOLUTIONS

Package sumplots. March 3, 2011

The permax Package. May 26, 2004

1111: Linear Algebra I

STRATEGY AND COMPLEXITY OF THE GAME OF SQUARES

Econ 172A - Slides from Lecture 18

arxiv:cs/ v2 [cs.cc] 27 Jul 2001

USER GUIDE. NEED HELP? Call us on +44 (0)

SPIRE MATHS Stimulating, Practical, Interesting, Relevant, Enjoyable Maths For All

Package JoSAE. August 9, 2015

2-1 Inductive Reasoning and Conjecture

Package MLP. April 14, 2013

Package draw. July 30, 2018

Autodesk Moldflow Insight AMI Shrink Analysis Results

Software Patent Issues

DocuSign for Sugar 7 v1.0. Overview. Quick Start Guide. Published December 5, 2013

Lesson 3: Multiplying Matrices. You can only multiply two matrices if

Subdivision Cross Sections and Quantities

jimfusion Satellite image manipulation SOFTWARE FEATURES QUICK GUIDE

A slope of a line is the ratio between the change in a vertical distance (rise) to the change in a horizontal

Illustrative Mathematics. Alignments to Content Standards: 4.OA.B. Task. Below is a multiplication table for single digit numbers:

Package colordistance

Audio Enhancement Using Remez Exchange Algorithm with DWT

ON SAMPLING ISSUES OF A VIRTUALLY ROTATING MIMO ANTENNA. Robert Bains, Ralf Müller

Package pedantics. R topics documented: April 18, Type Package

Multicomponent seismic polarization analysis

ENGN8637, Semster-1, 2018 Project Description Project 1: Bit Interleaved Modulation

15-388/688 - Practical Data Science: Visualization and Data Exploration. J. Zico Kolter Carnegie Mellon University Spring 2018

Contents. An introduction to MATLAB for new and advanced users

Exercise 2-2. Four-Wire Transmitter (Optional) EXERCISE OBJECTIVE DISCUSSION OUTLINE. Ultrasonic level transmitter DISCUSSION

Auto-tagging The Facebook

User Guide for PLC channel generator v.2

Stat 155: solutions to midterm exam

SIGNALS AND SYSTEMS LABORATORY 3: Construction of Signals in MATLAB

Transcription:

Version 0.9.6 Package crimcv January 25, 2018 Title Group-Based Modelling of Longitudinal Data Author Jason D. Nielsen <jdn@math.carleton.ca> Maintainer Jason D. Nielsen <jdn@math.carleton.ca> Depends R (>= 2.10.0), splines A finite mixture of Zero-Inflated Poisson (ZIP) models for analyzing criminal trajectories. License GPL (>= 2) Date 2018-01-24 NeedsCompilation yes Repository CRAN Date/Publication 2018-01-25 04:16:46 UTC R topics documented: crimcv........................................... 1 TO1............................................. 3 TO1adj........................................... 3 TO1Risk........................................... 4 TO2............................................. 4 TO2adj........................................... 5 TO2Risk........................................... 5 Index 6 crimcv Fits finite mixtures of Zero-inflated Poisson models This software fits finite mixtures of ZIP models to longitudinal count data. 1

2 crimcv crimcv(dat,ng,dpolyp=3,dpolyl=3,model="zipt",rcv=false,init=20,risk=null) Arguments Dat ng Value A matrix of the number of criminal offenses. Each row contains the number of criminal offenses committed by a particular individual for all time intervals observed (columns). A negative number is interpreted as a missing value. The number of groups to use in the analysis. dpolyp The degree of the polynomial in the log-linear component. Defaults to 3. dpolyl model rcv init Risk A list of class "dmzip" or "dmzipt". Author(s) Jason D. Nielsen References The degree of the polynomial in the logistic component (ZIP model only). Defaults to 3. Either "ZIP" for the full ZIP or "ZIPt" for the ZIP(tau) sub-group model. Defaults to "ZIPt". Set to TRUE to compute the CVE. Defaults to FALSE. This controls how rigorously the initialization procedure searches for good starting values of the parameters. Larger values increase the odds of finding the true global solution but can dramatically increase the time required to fit the model. The default is set to 20 and from experimentation this seems to be a reasonable value for ng<=5. Note: As the number of groups (ng) gets larger finding the optimal global maximum of the likelihood becomes progressively more challenging. A matrix of the same dimension as Dat with the time-at-risk correction. Defaults to 1 for all elements (i.e. at risk for the full time period). J.D. Nielsen, J.S. Rosenthal, Y. Sun, D.M. Day, I. Bevc, and T. Duchesne (2011). Group-based Criminal Trajectory Analysis using Cross-Validation Criteria. A draft of the manuscript is available at http://www.probability.ca/jeff/research.html. Examples # Loads crimcv into the interpreter library(crimcv) # Load the "divide-and-round" TO1 dataset data(to1adj) # Fit a 2 component ZIP(tau) model of degree 2. Here the CVE is not

TO1 3 # calculated and only ~1/4 of the data is used so that the code will # run quickly enough to satisfy CRAN's package policies. To compute # CVE run as: # out1<-crimcv(to1adj,2,dpolyp=2,rcv=true) subto1adj<-to1adj[1:100,] out1<-crimcv(subto1adj,2,dpolyp=2,init=5) # Plot the component trajectories plot(out1) # Print out some useful output summary(out1) TO1 Adjudicated Toronto Youth Data (Sample 1) Number of criminal unique court contacts for 378 individuals in Toronto, Ontario, Canada. data(to1) A 378 by 31 matrix where each row contains the number of unique court contacts per year for an individual from the age of 8 to 38. TO1adj Adjusted Adjudicated Toronto Youth Data (Sample 1) Number of unique court contacts for 378 individuals in Toronto, Ontario, Canada adjusted for timeat-risk by the "divide and round" approach. data(to1adj) A 378 by 31 matrix where each row contains the number of unique court contacts per year corrected for time-at-risk for an individual from the age of 8 to 38.

4 TO2 TO1Risk Time-at-risk for the Adjudicated Toronto Youth Data (Sample 1) Time-at-risk per year for 378 individuals in the Toronto, Ontario, Canada. data(to1risk) A 378 by 31 matrix where each row contains the time-at-risk per year for an individual from the age of 8 to 38. TO2 Adjudicated Toronto Youth Data (Sample 2) Number of unique court contacts for 386 individuals in Toronto, Ontario, Canada. data(to2) A 386 by 30 matrix where each row contains the number of unique court contacts per year for an individual from the age of 9 to 38.

TO2adj 5 TO2adj Adjusted Adjudicated Toronto Youth Data (Sample 2) Number of unique court contacts for 386 individuals in Toronto, Ontario, Canada adjusted for timeat-risk by the "divide and round" approach. data(to2adj) A 386 by 30 matrix where each row contains the number of unique court contacts per year corrected for time-at-risk for an individual from the age of 9 to 38. TO2Risk Time-at-risk for the Adjudicated Toronto Youth Data (Sample 2) Time-at-risk for 386 individuals in the Toronto, Ontario, Canada. data(to2risk) A 386 by 30 matrix where each row contains the number of criminal offenses per year for an individual from the age of 9 to 38.

Index Topic Finite mixture model crimcv, 1 Topic Zero-inflated Poisson model crimcv, 1 Topic datasets TO1, 3 TO1adj, 3 TO1Risk, 4 TO2, 4 TO2adj, 5 TO2Risk, 5 crimcv, 1 TO1, 3 TO1adj, 3 TO1Risk, 4 TO2, 4 TO2adj, 5 TO2Risk, 5 6