My blog
Saturday, 30 March 2013
Sunday, 24 March 2013
IT Lab Session 9
VIDI - A Data Visualization Tool
Data visualization
works so well because the human brain is extremely well-equipped to process
visual information. We can capture patterns and essential themes in huge data
sets very, very quickly through visual means.
Unfortunately, the
tools to create these visual representations are usually too expensive and
difficult for smaller news organizations and everyday citizens to use, creating
a gap for the future of community journalism. With the generous support of the Knight Foundation, we created VIDI, a
suite of powerful intuitive Drupal data-visualization modules for anyone
to use on any standard set of data ranging from government databases to
demographics and statistics.
VIDI
gives you easy-to-use tools to build and embed colorful and dynamic maps for
your presentations or your blogs. It includes powerful and intuitive tools for
expressing data through maps.
Steps to use VIDI data
visualization tools are as follows
Ø Find
your story
Ø Pursue
an appropriate dataset for your story (blog, Twitter, Facebook or any website)
Ø Find
an adequate data
visualization type to support your story
Ø Prepare
and if necessary fix your datasets, if not sure check
datasets formats
Ø Explore
color scheme suggestions
Ø Copy
embed link to embed your data visualizations into your content
Ø Come
back any time to use your visualizations saved on My VIDI page
Different types of data
visualization formats VIDI supports able to generate from given data are as
follows
v Motion
Chart
v Timeline
map
v Timeline
map with path
v Annotated
timeline
v Tagmap
v Intesity
map
v Geo
map
v Timeline
map
v Timeline
map with path
v Pie
chart
v Gauge
chart
v Bar
chart
v Area
chart
v Column
chart
v Line
chart
v Scatter
chart
Some sample charts that
can be created in VIDI are as follows
Conclusion:
VIDI provides all the basic charts required with a very easy user interface. Even a beginner can easily use it and can create interactive charts required for him. But higher level customizations are not available at this stage. VIDI can work on this and can improve on it. And right now it accepts data in three file formats only. It can extend its allowable file formats and can accept data in the web page only as another option to be very much user friendly to user.
Friday, 15 March 2013
IT Lab Session 8
Analyze the data set "Produc" in "plm" package
Pooled Affect Model
pool<-plm(log(pcap)~log(hwy) + log(water) + log(util) + log(pc) + log(gsp) + log(emp) + log(unemp), data=Produc, model=("pooling"), index = c("state", "year"))
Fixed Affect Model
fixed<-plm(log(pcap)~log(hwy) + log(water) + log(util) + log(pc) + log(gsp) + log(emp) + log(unemp), data=Produc, model=("within"), index = c("state", "year"))
Random Affect Model
random<-plm(log(pcap)~log(hwy) + log(water) + log(util) + log(pc) + log(gsp) + log(emp) + log(unemp), data=Produc, model=("random"), index = c("state", "year"))
pFtest
We cannot reject null hypothesis, so fixed is better
plmtest
We cannot reject null hypothesis, so pool is better
phtest
We should null hypothesis, so fixed is better
So by consolidating all the results, fixed affect model is better for "Produc" data
Pooled Affect Model
pool<-plm(log(pcap)~log(hwy) + log(water) + log(util) + log(pc) + log(gsp) + log(emp) + log(unemp), data=Produc, model=("pooling"), index = c("state", "year"))
Fixed Affect Model
fixed<-plm(log(pcap)~log(hwy) + log(water) + log(util) + log(pc) + log(gsp) + log(emp) + log(unemp), data=Produc, model=("within"), index = c("state", "year"))
Random Affect Model
random<-plm(log(pcap)~log(hwy) + log(water) + log(util) + log(pc) + log(gsp) + log(emp) + log(unemp), data=Produc, model=("random"), index = c("state", "year"))
pFtest
We cannot reject null hypothesis, so fixed is better
plmtest
We cannot reject null hypothesis, so pool is better
phtest
We should null hypothesis, so fixed is better
So by consolidating all the results, fixed affect model is better for "Produc" data
Wednesday, 13 February 2013
Thursday, 7 February 2013
IT Lab Session5
Q1) Download data set for large NSE data (atleast 6 months) and generate returns having selected the 10th datapoint as start and 95th data point as end
Ans)
Q2) Predict the data for 701 to 850 rows for the data given
Ans) Considered "age" and "ed" attributes as categories and worked accordingly
> logit<-read.csv(file.choose(), header=T)
> logit.eg<-logit[1:700,]
> logit.eg$age <- factor(logit.eg$age)
> logit.eg$ed <- factor(logit.eg$ed)
> logit.est <- glm(default~age+ed+employ+address+income+
+ debtinc+creddebt+othdebt, data = logit.eg ,
+ family = "binomial" )
> logit.eg2<-logit[701:850,]
> logit.eg2$age <- factor(logit.eg2$age)
> logit.eg2$ed <- factor(logit.eg2$ed)
> logit.eg2$prob <- predict(logit.est, newdata = logit.eg2, type = "response")
> logit.eg2
Ans)
Q2) Predict the data for 701 to 850 rows for the data given
Ans) Considered "age" and "ed" attributes as categories and worked accordingly
> logit<-read.csv(file.choose(), header=T)
> logit.eg<-logit[1:700,]
> logit.eg$age <- factor(logit.eg$age)
> logit.eg$ed <- factor(logit.eg$ed)
> logit.est <- glm(default~age+ed+employ+address+income+
+ debtinc+creddebt+othdebt, data = logit.eg ,
+ family = "binomial" )
> logit.eg2<-logit[701:850,]
> logit.eg2$age <- factor(logit.eg2$age)
> logit.eg2$ed <- factor(logit.eg2$ed)
> logit.eg2$prob <- predict(logit.est, newdata = logit.eg2, type = "response")
> logit.eg2
Wednesday, 23 January 2013
IT Lab Session 3
Q1A)
Since the shape of the residual curve is parabola and not random, residual regression does not follow linearity
Q1B)
Since the shape of the residual curve is random, residual regression follow linearity
Q2)
P value is 0,687. So we do not have sufficient evidance to reject that the comfort levels of the three chairs are similar
Since the shape of the residual curve is parabola and not random, residual regression does not follow linearity
Q1B)
Since the shape of the residual curve is random, residual regression follow linearity
Q2)
P value is 0,687. So we do not have sufficient evidance to reject that the comfort levels of the three chairs are similar
Tuesday, 15 January 2013
Subscribe to:
Posts (Atom)































