Skip to content

DECISION STATS

Better Decisions === Faster Stats

  • Interviews
  • About DecisionStats
    • Decisionstats.org
      • Ajay @ arts
        • Hackers dont die
  • Interviews
  • About DecisionStats
DECISION STATS

Tag: logo

Vote Now or Regret! Doodle 4 Google

Here is a wonderful example of a geeky nerdy corporate player encouraging education in the liberal arts ( the designers of the GUIs and the phones) of the future.

Google sponsored Doodle 4 Google. (also quite a challenge to traditional brand managers who want to so control the image of the brand- I once waited 12 days for an official Logo to appear on this blog)

a brave new contest for a brave new world.

Vote now at http://www.google.com/doodle4google/vote.html

Related Articles
  • “Doodle 4 Google” Contest No Longer Needs Your Kid’s SSN (techland.time.com)
28.635308 77.224960

Please share:

  • LinkedIn
  • Facebook
  • Twitter
Author Ajay OhriPosted on May 5, 2011Categories Analytics, googleTags arts, Companies, Contest, Doodle 4 Google, education, Google logo, logo, search, search engines, Social Security number, united statesLeave a comment on Vote Now or Regret! Doodle 4 Google

Decisionstats.com Version N.0

Ajay Devgan on Bollywood film London Dreams
Image via Wikipedia

Just updated Decisionstats.com

Note the new D logo on top of web page.

Also redesigned the following pages-

  • About DecisionStats The page contains motivations and story behind creating it. I also cleaned up the privacy declarations and the flat rate for ad /sponsors.
  • Ajay @ arts Updated my art /design portfolio. Apparently I wrote a lot of poems (11)  in 2010. Also added my 3 poetry books for e downloads, 1 cartoon mini book, many more videos, 1 play, some photography.
  • R Package Creating– Plans for me to write some code. By the time I get down to actually writing some stuff, someone has already created a package for it. Next I plan to create a GUI for BI dashboards, and a Web analytics package (thats your hint to start writing….;)
  • Some general SEO stuff. Meta Tags. Traffic Analysis. Linking. Blinking.
  • HIRE ME
28.635308 77.224960

Please share:

  • LinkedIn
  • Facebook
  • Twitter
Author Ajay OhriPosted on April 25, 2011Categories Random EffectsTags Analytics, art, bi, blogging, books, cartoon, decisionstats.com, GUI, logo, poetry, privacy, seo, Time, traffic, version, web, web analytics, writingLeave a comment on Decisionstats.com Version N.0

THE NEW HTML5 LOGO

28.635308 77.224960

Please share:

  • LinkedIn
  • Facebook
  • Twitter
Author Ajay OhriPosted on January 19, 2011Categories InternetTags html5, logoLeave a comment on THE NEW HTML5 LOGO

Quick-R and Statmethods.net

Syntax
Image via Wikipedia

I was searching for some basic syntax in R (basically cross tabs and density plots) and I came across the Quick R site.

http://www.statmethods.net/

Its really a nice site for R beginners and anyone trying to remember some syntax.

R syntax can be very simple- a histoigram is just hist(), boxplot is just boxplot() and t test is just t.test(dataset)

Here is an example from the site-

http://www.statmethods.net/graphs/density.html


# Simple Histogram
hist(mtcars$mpg)

simple histogram click to view

# Colored Histogram with Different Number of Bins
hist(mtcars$mpg, breaks=12, col="red")

colored histogram click to view

# Add a Normal Curve (Thanks to Peter Dalgaard)
x <- mtcars$mpg
h<-hist(x, breaks=10, col="red", xlab="Miles Per Gallon",
main="Histogram with Normal Curve")
xfit<-seq(min(x),max(x),length=40)
yfit<-dnorm(xfit,mean=mean(x),sd=sd(x))
yfit <- yfit*diff(h$mids[1:2])*length(x)
lines(xfit, yfit, col="blue", lwd=2)

histogram with normal curve click to view

Histograms can be a poor method for determining the shape of a distribution because it is so strongly affected by the number of bins used.

KERNEL DENSITY PLOTS

Kernal density plots are usually a much more effective way to view the distribution of a variable. Create the plot using plot(density(x)) where x is a numeric vector.

# Kernel Density Plot
d <- density(mtcars$mpg) # returns the density data
plot(d) # plots the results

simple density plot click to view

# Filled Density Plot
d <- density(mtcars$mpg)
plot(d, main="Kernel Density of Miles Per Gallon")
polygon(d, col="red", border="blue")

colored density plot click to view

COMPARING GROUPS VIA KERNAL DENSITY

The sm.density.compare( ) function in the sm package allows you to superimpose the kernal density plots of two or more groups. The format is sm.density.compare(x, factor) where x is a numeric vector and factor is the grouping variable.

# Compare MPG distributions for cars with
# 4,6, or 8 cylinders
library(sm)
attach(mtcars)

# create value labels
cyl.f <- factor(cyl, levels= c(4,6,8),
labels = c("4 cylinder", "6 cylinder", "8 cylinder"))

# plot densities
sm.density.compare(mpg, cyl, xlab="Miles Per Gallon")
title(main="MPG Distribution by Car Cylinders")

# add legend via mouse click
colfill<-c(2:(2+length(levels(cyl.f))))
legend(locator(1), levels(cyl.f), fill=colfill)

comparing densities click to view

 

It is not as exhaustive as http://cran.r-project.org/doc/manuals/R-intro.html

but it is much more simpler and easy to follow.

The site is created by Robert I. Kabacoff, Ph.D.

and he is working on a book called “R in Action”

R in Action

I have received numerous requests for a hardcopy version of this site, so over the past year I have been writing a book that takes the material here and significantly expands upon it. If you are interested, early access is available.

 

If you have not been to that website, I recommend it highly (though the tagline or logo of R for SAS/SPSS/Stata users seems a bit familiar)-http://www.statmethods.net/index.html

Quick-R

for SAS/SPSS/Stata Users


Related Articles
  • Two Thoughts on Lisp Syntax. (kazimirmajorinc.blogspot.com)
  • Some Basics about Stats (psipsychologytutor.org)
  • Bone Density Tests: A Clue to Your Future (webmd.com)
  • Net Access Corporation Unveils 50,000 Square Foot, State-of-the-Art Data Center in Parsippany, New Jersey (prweb.com)
  • programming languages – What makes lisp macros so special – Stack Overflow (stackoverflow.com)
  • Thinking about Syntax (latenightpc.com)
  • Our minds use syntax to understand actions, just like with language [Mad Psychology] (io9.com)
  • Syntax highlighting for Django using Pygments (ofbrooklyn.com)
  • People of HTML5 – Bruce Lawson (hacks.mozilla.org)
  • Haskell syntax vs. Lisp syntax | LispCast (lispcast.com)
28.635308 77.224960

Please share:

  • LinkedIn
  • Facebook
  • Twitter
Author Ajay OhriPosted on January 10, 2011Categories AnalyticsTags Bar chart, book, compare, data, Distributions, easy, groups, Histogram, html, html5, Language, Languages, logo, normal, Normal distribution, Plot (graphics), Promotion, R, rstats, Searching, stack overflow, stats, syntax, use, version, Web Design and Development, writingLeave a comment on Quick-R and Statmethods.net

How Jesus saved my Butt


Prologue– In April 2009 I was as happy as I could be. or should have been. I was working from my house on my own sleep -wake schedule, had a bouncy 1 yr old son, an adoring girlfriend turned wife, a nice in-the-money 3 Bedroom Suburban apartment, and my startup /website was doing great, pulling in almost 4000 USD per month which was really huge given that I was parked in Delhi, India. and I had just been selected for a fully paid up grad school in the United States. Yes sir, life could not have been much better.  

But the reality was I was extremely unhappy- or as unhappy as a person could  be without being crazy about it. I was addicted to the always-on rush of the internet, working without a break on my writing and my job/contracts. I was ignoring my wife ‘s demands for more time as childish, and the rest of my family as interfering. Even my son seemed an time-crawl at times, so he spent more time with his nanny than me. I was hooked- and the drug  was electronic, unblinking and always on. When I was not working, I was playing games on Facebook, tweeting like a teenager, or playing paid strategy games.I had been having mild arguments for the past several weeks with my wife, but I dismissed those concerns as feminine posturing. I mean, I knew her for eight years now- four before marriage and four after that. Any demands from her for more time or even to help out with the work at home meant time away from my computer or my business or even my sleep. After the high of fourteen go-go hours at work I needed some pills at the end of each day to sleep.
The wife could wait. The job, the money and the networking could not.

And then she walked out on me. With the kid. And the nanny. And With my credit card.

I was furious. How could this happen to me? In vain I raged against her, created scenes at her house to get my son back. She gave my credit card back. But it would take much more time than I realized to get my life back.

At work- I slowly began burning out. My pill fueled sleep was not refreshing and gave rise to hesitant and erratic behavior. Once again I blamed my client and co workers. They were the stupid ones- me- I was the creative genius. I lost their respect and then their friendship- eventually losing my monthly income. I now had a big mortgage on my house and no income to support it. And no family to fill the big house too.

Too proud to admit whose fault it was, I packed my bags to start life afresh in school in America.
My parents were supportive, especially my father. I had often been distant with him as he too had a demanding job as a police officer. I rationalized my work alcoholism on the ground that I was doing it for my family and making good money, unlike my father who had just spent thirty years on a middle level pay and much more work. My father had endured those complaints silently and just as silently he helped me through basic therapy to help me reach a medical condition fit enough to travel.

In America-

I resolved to start life anew in the United States. At first it went well. I swam in the housing pool and walked along the beautiful green campus.My immigrant energy was good enough for me to start impressing my classmates and my teachers. I used the opportunities available in the US to travel to conferences in New York and Las Vegas. And I partied like a bachelor in both these places. I had nothing else left to lose and so I thought. Beer bars were my salvation and I was redeemed there-at least for the evening. But then a familiar pattern from the past emerged- I could not focus long enough on my studies. My medication (this time prescribed by a doctor) increased but I steadily drank as well. I tried distracting myself with sports- especially with the university football team which played every Saturday. Caught up in the weekly ritual, I hoped it would give a good outlet to the hurt I felt inside. It was one such Saturday that I came across my Baptist friends.

I was hitch-hiking my way to the football stadium and steadily grew flustered as there was a steady stream of cars hurrying to their tailgates without sparing a thought for me. After walking in vain for almost half an hour under the burning sun, I threw my hands up, looked up at the sky, and silently implored heaven to give me a break.

Enter Jesus

 

And then a minor miracle happened. I got a ride from 4 guys in a car. For a colored guy to get a ride is a minor miracle in East Tennessee. It turned out Brendan,Brian , Brett and James were members of the local Crown College– a private Baptist college and they did not mind crowding in the back seat so I could have a comfortable ride. When Brendan mentioned that he and James were thinking of being Pastors after graduation, I asked them if we could study the Bible together-we promised to meet next Saturday and that was it.
The Bible studies were quite different from my childhood readings of the Bible while studying at a Catholic school in India. My relationship with God was that of a teenager with his Dad- I prayed only when I needed help or money or both.
These Bible studies were more like group discussions based on what we were doing, or where we wanted to be, all revolving around the particular quote or passage which was being studied. Contrary to my exceptions, studying the Bible was as natural for me as studying the Gita- and the study was much more rational and logical than I thought it would be.
After a couple of months of these I felt confident enough to go to their local Baptist Church. In the meantime I had expanded my weekly Bible studies to two- every Saturday with the awesome foursome Crownies and every Wednesday at Moe’s – a burrito eating place with Austin , a University student I had met while rock climbing in the campus gymnasium.

The Change

After a couple of months doing Bible Study I felt confident to go to Church, with Austin and my friends. While I alternated between the Baptist and the Prebysterian church I eventually settled for the Redeemer church as that was closest to me. In the meantime, Austin got engaged ,graduated and became busy holding two jobs. It was at a Christmas party that I first met Michael who had just started working with Bridges, a campus ministry.

Doing Michael ‘s Bible study was an evolution for me spiritually as I could now not only just read the Bible but start learning to apply it’s teachings in my daily life. While the Bible is clearly a religious book for Jews and Christians, the application of the works in your daily life is very common sense. People reading the Bible are happier than people not reading it, and happiness is what we strive for in our mortal life.
My relationships with people in my personal life improved, as I started learning the value of tolerance and forgiveness. I started drinking much much less, my health and disposition became much better. For the first time in 32 years of my life I could even say I was blessed to be with friends rather than be a habitual loner.
And God worked his miracles in my professional and personal life as well. While still at a struggle for money, I was having a steady income as my website business- and I started preparing to reconcile back to my son , my wife and my parents in India.Happy Beginning.

I am now in India, have a delightful 3 year old son, a caring wife, a small startup. This morning I got up and started designing the logo of my new firm. I talk better with my parents than I have in many decades.

I still follow Jesus but I dont go to church. Jesus was all about love, but churches can sometimes talk about hating gays, terrorists, foreigners etc.

I realized that believing in God has nothing to do with following or unfollowing a particular religion.


Are life’s struggles over? Am I never going to be in trouble or trying times again. I dont think so- if at all being more spiritually aware means a greater understanding of right and wrong and a bigger task to walk the straight and narrow path. I  call this my Happy Beginning- and I wish you the same. Whatever religion you may have faith in, forgiveness and belief in a higher more forgiving , more merciful God can only help you achieve calm and happiness.

You can go to a pub /not believe in anything or choose to go to a church (or a temple /synagogue/ mosque).
Chances are people who believe in the latter are going to be happier. And if you add this with a merciful and forgiving attitude towards others (like God has for you) – there is no limit to where you Happy Beginning can take you.
I did get divorced and lost custody of my son. I also wrote books, became more successful in my life. Above all , learning to accept Gid without caring too much for the baggage that preachers impose in the name of organized religion, helps calm me down.
Related Articles
  • Black LGBT community finds a new way to worship (thegrio.com)
  • Sedition of Christian Right (nowpublic.com)
  • The Dangerous World of Biblical Counseling: Part 1 (new.exchristian.net)
  • The long awaited adventures of India – Chennai (Madras), India (travelpod.com)
  • Great Websites to Use for Searching Bible Verses (brighthub.com)
26.875684 75.851669

Please share:

  • LinkedIn
  • Facebook
  • Twitter
Author Ajay OhriPosted on November 7, 2010May 4, 2013Categories Random EffectsTags 2009, austin, Baptist Church, Baptists, Bible Study, book, Business, Catholic school, Christianity, christmas, community, computer, conferences, Crown College, football, Forgiveness, Friends, games, grad school, green, Health, Home, Income, India, Jesus, Jews, learning, logo, medication, money, networking, new york, party, people, personal, pills, Relationships, Religion, Searching, son, spirituality, startup, Strategy, student, Time, united states, US, use, website, websites, wife, work, writing, York2 Comments on How Jesus saved my Butt

Blog Stats

  • 1,194,699 hits

BitCoin Address

BitCoin Wallet

12FxL4og4MqtZt6pRZ1LkcMQq6ddgJK4Yg

Latest Book

SAS for R Users

Books by Ajay Ohri

Python for R USers

R for Business Analytics


R for Cloud Computing

On FB

On FB

Archives

  • January 2021 (1)
  • December 2020 (1)
  • September 2020 (1)
  • July 2020 (1)
  • June 2020 (1)
  • May 2020 (1)
  • March 2020 (1)
  • February 2020 (2)
  • January 2020 (8)
  • December 2019 (1)
  • November 2019 (2)
  • October 2019 (1)
  • May 2019 (2)
  • March 2019 (3)
  • February 2019 (1)
  • January 2019 (1)
  • December 2018 (3)
  • October 2018 (1)
  • September 2018 (7)
  • August 2018 (3)
  • July 2018 (6)
  • June 2018 (2)
  • May 2018 (1)
  • April 2018 (2)
  • March 2018 (7)
  • February 2018 (16)
  • January 2018 (4)
  • December 2017 (10)
  • November 2017 (8)
  • October 2017 (6)
  • September 2017 (4)
  • August 2017 (6)
  • July 2017 (6)
  • June 2017 (3)
  • May 2017 (4)
  • March 2017 (1)
  • February 2017 (2)
  • January 2017 (2)
  • December 2016 (3)
  • November 2016 (7)
  • September 2016 (7)
  • August 2016 (12)
  • July 2016 (12)
  • June 2016 (8)
  • May 2016 (11)
  • April 2016 (5)
  • March 2016 (22)
  • February 2016 (6)
  • January 2016 (4)
  • December 2015 (26)
  • November 2015 (19)
  • October 2015 (44)
  • September 2015 (18)
  • August 2015 (28)
  • July 2015 (12)
  • June 2015 (6)
  • May 2015 (9)
  • April 2015 (9)
  • March 2015 (11)
  • February 2015 (5)
  • January 2015 (8)
  • December 2014 (9)
  • November 2014 (10)
  • October 2014 (3)
  • September 2014 (5)
  • August 2014 (5)
  • July 2014 (14)
  • June 2014 (21)
  • May 2014 (10)
  • April 2014 (14)
  • March 2014 (15)
  • February 2014 (11)
  • January 2014 (4)
  • December 2013 (16)
  • November 2013 (19)
  • October 2013 (23)
  • September 2013 (12)
  • August 2013 (14)
  • July 2013 (9)
  • June 2013 (8)
  • May 2013 (15)
  • April 2013 (16)
  • March 2013 (8)
  • February 2013 (16)
  • January 2013 (18)
  • December 2012 (7)
  • November 2012 (8)
  • October 2012 (10)
  • September 2012 (1)
  • August 2012 (26)
  • July 2012 (31)
  • June 2012 (12)
  • May 2012 (10)
  • April 2012 (12)
  • March 2012 (27)
  • February 2012 (31)
  • January 2012 (26)
  • December 2011 (27)
  • November 2011 (40)
  • October 2011 (32)
  • September 2011 (29)
  • August 2011 (30)
  • July 2011 (30)
  • June 2011 (33)
  • May 2011 (50)
  • April 2011 (51)
  • March 2011 (31)
  • February 2011 (38)
  • January 2011 (36)
  • December 2010 (35)
  • November 2010 (77)
  • October 2010 (73)
  • September 2010 (65)
  • August 2010 (19)
  • July 2010 (14)
  • June 2010 (11)
  • May 2010 (20)
  • April 2010 (18)
  • March 2010 (8)
  • February 2010 (10)
  • January 2010 (42)
  • December 2009 (38)
  • November 2009 (60)
  • October 2009 (41)
  • September 2009 (45)
  • August 2009 (37)
  • July 2009 (21)
  • June 2009 (28)
  • May 2009 (49)
  • April 2009 (29)
  • March 2009 (39)
  • February 2009 (34)
  • January 2009 (42)
  • December 2008 (18)
  • November 2008 (37)
  • October 2008 (20)
  • September 2008 (52)
  • August 2008 (62)
  • July 2008 (42)
  • June 2008 (16)
  • May 2008 (10)
  • April 2008 (20)
  • March 2008 (15)
  • February 2008 (30)
  • January 2008 (20)
  • December 2007 (13)

This slideshow requires JavaScript.

  • Interviews
  • About DecisionStats
    • Decisionstats.org
      • Ajay @ arts
        • Hackers dont die
  • Interviews
  • About DecisionStats
DECISION STATS Blog at WordPress.com.
Cancel