This document provides instructions on how to create a CSPro tabulation application to generate a table showing average per capita monthly food consumption expenditure by barangay for a municipality. It describes how to:
1. Create a new tabulation application and input dictionary
2. Add variables to store household and indicator information
3. Specify the universe, value tallied, tabulation logic, and post-calculation for the table
4. Select the area to disaggregate the data by barangay
5. Save, run the application, and view the output table
The goal is to generate a table with monthly average food expenditure per capita by barangay using CSPro post-calculation logic.
Top Five Cool Features in Oracle SQL Developer Data ModelerKent Graziano
This is the presentation I gave at OUGF14 in Helsinki, Finland in June 2014.
Oracle SQL Developer Data Modeler (SDDM) has been around for a few years now and is up to version 4.x. It really is an industrial strength data modeling tool that can be used for any data modeling task you need to tackle. Over the years I have found quite a few features and utilities in the tool that I rely on to make me more efficient (and agile) in developing my models. This presentation will demonstrate at least five of these features, tips, and tricks for you. I will walk through things like modifying the delivered reporting templates, how to create and applying object naming templates, how to use a table template and transformation script to add audit columns to every table, and using the new meta data export tool and several other cool things you might not know are there. Since there will likely be patches and new releases before the conference, there is a good chance there will be some new things for me to show you as well. This might be a bit of a whirlwind demo, so get SDDM installed on your device and bring it to the session so you can follow along.
Maximo has traditionally been a very powerful maintenance management tool, but with pressures from a new younger workforce and competing products, there are a lot of new and exciting investment areas coming up for 2016.
LDM Webinar: Data Modeling & Business IntelligenceDATAVERSITY
Business Intelligence (BI) is a valuable way to use information to show the overall health and performance of the organization. At its core is quality, well-structured data that allows for successful reporting and analytics. A data model helps provide both the business definitions as well as the structural optimization needed for successful BI implementations.
Join this webinar to see how a data model underpins business intelligence and analytics in today’s organization.
Top Five Cool Features in Oracle SQL Developer Data ModelerKent Graziano
This is the presentation I gave at OUGF14 in Helsinki, Finland in June 2014.
Oracle SQL Developer Data Modeler (SDDM) has been around for a few years now and is up to version 4.x. It really is an industrial strength data modeling tool that can be used for any data modeling task you need to tackle. Over the years I have found quite a few features and utilities in the tool that I rely on to make me more efficient (and agile) in developing my models. This presentation will demonstrate at least five of these features, tips, and tricks for you. I will walk through things like modifying the delivered reporting templates, how to create and applying object naming templates, how to use a table template and transformation script to add audit columns to every table, and using the new meta data export tool and several other cool things you might not know are there. Since there will likely be patches and new releases before the conference, there is a good chance there will be some new things for me to show you as well. This might be a bit of a whirlwind demo, so get SDDM installed on your device and bring it to the session so you can follow along.
Maximo has traditionally been a very powerful maintenance management tool, but with pressures from a new younger workforce and competing products, there are a lot of new and exciting investment areas coming up for 2016.
LDM Webinar: Data Modeling & Business IntelligenceDATAVERSITY
Business Intelligence (BI) is a valuable way to use information to show the overall health and performance of the organization. At its core is quality, well-structured data that allows for successful reporting and analytics. A data model helps provide both the business definitions as well as the structural optimization needed for successful BI implementations.
Join this webinar to see how a data model underpins business intelligence and analytics in today’s organization.
This is a complete project plan which is prepared using a given business case. It included determining project scope, schedule, cost, budgeting, communication, risk management & human resource management and etc.
Product-thinking is making a big impact in the data world with the rise of Data Products, Data Product Managers, data mesh, and treating “Data as a Product.” But Honest, No-BS: What is a Data Product? And what key questions should we ask ourselves while developing them? Tim Gasper (VP of Product, data.world), will walk through the Data Product ABCs as a way to make treating data as a product way simpler: Accountability, Boundaries, Contracts and Expectations, Downstream Consumers, and Explicit Knowledge.
In this presentation from EA Connect Days 2018 in Bonn you will find out how to import and export your Enterprise Architecture data to and from the LeanIX Inventory.
Algorithmic Impact Assessment: Fairness, Robustness and Explainability in Aut...Adriano Soares Koshiyama
The workshop session focuses on the following topics:
Introduction to AI & Machine Learning (Algorithms)
Key Components of Algorithmic Impact Assessment
Algorithmic Explainability
Algorithmic Fairness
Algorithmic Robustness
DESIGN OF RADIX-8 BOOTH MULTIPLIER USING KOGGESTONE ADDER FOR HIGH SPEED ARIT...eeiej_journal
This paper presents the design and implementation of radix-8 booth Multiplier .The number of partial
products are reduced to n/2 in radix-4We can reduce the number of partial products even further to n/3 by
using a higher radix-8 in the multiplier encoding, thereby obtaining a simpler CSA tree .This implies less
delay and a smaller area size .Since this multiplication operation is for both signed and unsigned
numbers,cost of the system can also be reduced.
SQL offers many powerful techniques for analyzing your data out of the box, but being also extendable if you are still missing something. Now much more easier in 18c with polymorphic table functions (PTF). As an evolution of table functions, PTF is invoked in the FROM clause and is capable to encapsulate the custom processing of the input data, whereas the input row type does not have to be known at design time and the output row type may first be determined by the actual PTF invocation parameters. This session will give you an introduction based on simple examples. Discover how you can develop your own flexible and self-describing extensions while focusing on business logic and leaving complex things like parallel execution to the database.
Cardinality Estimation through Histogram in Apache Spark 2.3 with Ron Hu and ...Databricks
Apache Spark 2.2 shipped with a state-of-art cost-based optimization framework that collects and leverages a variety of per-column data statistics (e.g., cardinality, number of distinct values, NULL values, max/min, avg/max length, etc.) to improve the quality of query execution plans. Skewed data distributions are often inherent in many real world applications. In order to deal with skewed distributions effectively, we added equal-height histograms to Apache Spark 2.3. Leveraging reliable statistics and histogram helps Spark make better decisions in picking the most optimal query plan for real world scenarios.
In this talk, we’ll take a deep dive into how Spark’s Cost-Based Optimizer estimates the cardinality and size of each database operator. Specifically, for skewed distribution workload such as TPC-DS, we will show histogram’s impact on query plan change, hence leading to performance gain.
MSCD650 Final Exam feedback FormMSCD650 Final Exam Grading For.docxgilpinleeanna
MSCD650 Final Exam feedback Form
MSCD650 Final Exam Grading Form
(Instructions follow the form)
Coding
55 Percent
Points Earned
Comments:
Trigger Code:
· Code meets requirements
· Code compiles cleanly
/15
Pre-Calculation Procedure Code
· Code meets requirements
· Code compiles cleanly
/15
PL/SQL Block Code
· Code meets requirements
· Code compiles cleanly
/15
Function Code
· Code meets requirements
· Code compiles cleanly
/10
/55
Unit Testing
35 Percent
Points Earned
Comments:
Unit Test for Trigger Code:
· All conditions are thoroughly tested
· The code runs successfully
· All data to prove test worked is displayed
/10
Unit Test for Procedure Code:
· All conditions are thoroughly tested
· The code runs successfully
· All data to prove test worked is displayed
· The tester can easily follow the path of the execution.
/10
.
Unit Test for PL/SQL Block Code:
· All conditions are thoroughly tested
· The code runs successfully
· All data to prove test worked is displayed
· The tester can easily follow the path of the execution.
/10
Unit Test for View/Function Code:
· All conditions are thoroughly tested
· The code runs successfully
· All data to prove test worked is displayed
· The tester can easily follow the path of the execution.
/5
/35
Documentation
10 Percent
Points Earned
Comments:
Presentation:
· The document is easy to read.
· The document is Professional in appearance
· It is easy for the reader to find what they are looking for.
/5
Documentation:
· Code is documented so that anyone who picks it up knows what it is doing.
/5
/10
Total 100
Percent
Points Earned
Comments:
Case Study
Overview of assignment
As a new ABC Consultant assigned to the XYZ Company, you have been asked to enhance the current system to include payroll processing. Although the current employee table has monthly salary and commission columns, it does not provide any means for storing employee deductions. You will add the tables necessary to store employee deductions. Next you will create a payroll pre-calculation program that will calculate the net pay for all the employees via a batch process (a stored procedure in a package, which will call other stored procedures within the package). Although this is not a complete payroll system, the unit test results must be accurate.
Next you will create two PL/SQL blocks for inserting and deleting rows from the employee deduction table. These PL/SQL blocks will be passed information from host or bind variables and a third PL/SQL block which will assign the variables defined in SQL*Plus (e.g. employee number, dollar amount and deduction name). Since the XYZ Company wants to track changes to the employee and employee deduction tables, you will create two database triggers that will update audit tables when rows are changed or deleted.
The XYZ Company also requires a view that will display specific employee information, plus the number of deductions for an employe ...
Star Transformation, 12c Adaptive Bitmap Pruning and In-Memory optionFranck Pachot
Besides adaptive joins and adaptive parallel distribution, 12c comes with Adaptive Bitmap Pruning. I’ll describe the case it applies to and which is often not well known: the Star Transformation
Create a correlation plot from joined tables and lag timesDougLoqa
This explains a process that was captured in this whitepaper posted here: https://www.slideshare.net/DougLoqa/setting-up-a-correlation-plot-on-energy-demand-using-r. It seemed that posting that process in Word document format wasn't as easy to see on some devices. This PowerPoint explains the step-by-step process a little more clearly so you can combine fields of two tables, and look at lag times to connect cause and effect over time. The end result is a correlation plot showing relationships between that cause and the lag times of the effects.
ENGR 102B Microsoft Excel Proficiency LevelsPlease have your in.docxYASHU40
ENGR 102B: Microsoft Excel Proficiency Levels
Please have your instructor or TA initial each level as you complete it. If you need additional help, ask the TAs or use the help guide within Excel.
Once you master Excel Levels I through IV, you can note Excel as a skill on your resume!
Please see D2L Content for this week for your Excel Homework assignment (individual), which is due via D2L Dropbox by the due date specified in the D2L News for your section.
If you use a Mac, please be sure to submit your homework in a format that the grader and instructor can open on a PC.
Level I: Basic Functions Initials _______
1. Calculating an Average: Calculate the arithmetic average of the 5 values listed below. Enter the values in cells A2 through A6. Place a descriptive label in cell A1.
3.6, 3.8, 3.5, 3.7, 3.6
First, calculate the average the long way, by summing the values and dividing by 5:
You will enter the following formula into a blank cell to accomplish this:
=(A2+A3+A4+A5+A6)/5
Second, calculate the average using Excel’s AVERAGE( ) function by entering the following formula in a cell:
=AVERAGE(cellrange)
Replace the “cellrange” with the actual addresses in your spreadsheet of the range of cells holding the five values (i.e., for this problem, the cell range is A2:A6).
2. Determining Velocities (in kph): Some friends at the University of Calgary are coming south for spring break. Help them avoid a speeding ticket by completing a velocity conversion worksheet that calculates the conversion from mph to kph in increments of 10 from 10 to 100. A conversion factor you will need is 0.62 miles/km; you will need this factor to convert from miles/hour to km/hour. Place the conversion factor in its own cell and then reference it in your conversion calculations using absolute cell referencing (e.g., $C$2). Refer to the CBT video on Absolute and Relative Cell Referencing from the “Preparation for the Excel Workshop” assignment if you don’t remember how to do this.
Level II: Advanced Functions Initials _______
1. Projectile Motion I: (See following page for Fig. 1 Excel chart) A projectile is launched at the angle 35o from the horizontal with a velocity equal to 30 m/s. Neglecting air resistance and assuming a horizontal surface, determine how far away from the launch site the projectile will land.
To answer this problem, you will need:
1. Excel’s trigonometry functions to handle the 35o angle, and
2. Equations relating distance to velocity and acceleration
When velocity is constant, as in the horizontal motion of our particle (since we’re neglecting air resistance), the distance traveled is simply the initial horizontal velocity times the time of flight:
(Equation 1)
What keeps the projectile from flying forever is gravity. Since the gravitational acceleration is constant, the vertical distance traveled becomes
(Equation 2)
Because the projectile ends up back on the ground, the final value of y is zero (a hor ...
This is a complete project plan which is prepared using a given business case. It included determining project scope, schedule, cost, budgeting, communication, risk management & human resource management and etc.
Product-thinking is making a big impact in the data world with the rise of Data Products, Data Product Managers, data mesh, and treating “Data as a Product.” But Honest, No-BS: What is a Data Product? And what key questions should we ask ourselves while developing them? Tim Gasper (VP of Product, data.world), will walk through the Data Product ABCs as a way to make treating data as a product way simpler: Accountability, Boundaries, Contracts and Expectations, Downstream Consumers, and Explicit Knowledge.
In this presentation from EA Connect Days 2018 in Bonn you will find out how to import and export your Enterprise Architecture data to and from the LeanIX Inventory.
Algorithmic Impact Assessment: Fairness, Robustness and Explainability in Aut...Adriano Soares Koshiyama
The workshop session focuses on the following topics:
Introduction to AI & Machine Learning (Algorithms)
Key Components of Algorithmic Impact Assessment
Algorithmic Explainability
Algorithmic Fairness
Algorithmic Robustness
DESIGN OF RADIX-8 BOOTH MULTIPLIER USING KOGGESTONE ADDER FOR HIGH SPEED ARIT...eeiej_journal
This paper presents the design and implementation of radix-8 booth Multiplier .The number of partial
products are reduced to n/2 in radix-4We can reduce the number of partial products even further to n/3 by
using a higher radix-8 in the multiplier encoding, thereby obtaining a simpler CSA tree .This implies less
delay and a smaller area size .Since this multiplication operation is for both signed and unsigned
numbers,cost of the system can also be reduced.
SQL offers many powerful techniques for analyzing your data out of the box, but being also extendable if you are still missing something. Now much more easier in 18c with polymorphic table functions (PTF). As an evolution of table functions, PTF is invoked in the FROM clause and is capable to encapsulate the custom processing of the input data, whereas the input row type does not have to be known at design time and the output row type may first be determined by the actual PTF invocation parameters. This session will give you an introduction based on simple examples. Discover how you can develop your own flexible and self-describing extensions while focusing on business logic and leaving complex things like parallel execution to the database.
Cardinality Estimation through Histogram in Apache Spark 2.3 with Ron Hu and ...Databricks
Apache Spark 2.2 shipped with a state-of-art cost-based optimization framework that collects and leverages a variety of per-column data statistics (e.g., cardinality, number of distinct values, NULL values, max/min, avg/max length, etc.) to improve the quality of query execution plans. Skewed data distributions are often inherent in many real world applications. In order to deal with skewed distributions effectively, we added equal-height histograms to Apache Spark 2.3. Leveraging reliable statistics and histogram helps Spark make better decisions in picking the most optimal query plan for real world scenarios.
In this talk, we’ll take a deep dive into how Spark’s Cost-Based Optimizer estimates the cardinality and size of each database operator. Specifically, for skewed distribution workload such as TPC-DS, we will show histogram’s impact on query plan change, hence leading to performance gain.
MSCD650 Final Exam feedback FormMSCD650 Final Exam Grading For.docxgilpinleeanna
MSCD650 Final Exam feedback Form
MSCD650 Final Exam Grading Form
(Instructions follow the form)
Coding
55 Percent
Points Earned
Comments:
Trigger Code:
· Code meets requirements
· Code compiles cleanly
/15
Pre-Calculation Procedure Code
· Code meets requirements
· Code compiles cleanly
/15
PL/SQL Block Code
· Code meets requirements
· Code compiles cleanly
/15
Function Code
· Code meets requirements
· Code compiles cleanly
/10
/55
Unit Testing
35 Percent
Points Earned
Comments:
Unit Test for Trigger Code:
· All conditions are thoroughly tested
· The code runs successfully
· All data to prove test worked is displayed
/10
Unit Test for Procedure Code:
· All conditions are thoroughly tested
· The code runs successfully
· All data to prove test worked is displayed
· The tester can easily follow the path of the execution.
/10
.
Unit Test for PL/SQL Block Code:
· All conditions are thoroughly tested
· The code runs successfully
· All data to prove test worked is displayed
· The tester can easily follow the path of the execution.
/10
Unit Test for View/Function Code:
· All conditions are thoroughly tested
· The code runs successfully
· All data to prove test worked is displayed
· The tester can easily follow the path of the execution.
/5
/35
Documentation
10 Percent
Points Earned
Comments:
Presentation:
· The document is easy to read.
· The document is Professional in appearance
· It is easy for the reader to find what they are looking for.
/5
Documentation:
· Code is documented so that anyone who picks it up knows what it is doing.
/5
/10
Total 100
Percent
Points Earned
Comments:
Case Study
Overview of assignment
As a new ABC Consultant assigned to the XYZ Company, you have been asked to enhance the current system to include payroll processing. Although the current employee table has monthly salary and commission columns, it does not provide any means for storing employee deductions. You will add the tables necessary to store employee deductions. Next you will create a payroll pre-calculation program that will calculate the net pay for all the employees via a batch process (a stored procedure in a package, which will call other stored procedures within the package). Although this is not a complete payroll system, the unit test results must be accurate.
Next you will create two PL/SQL blocks for inserting and deleting rows from the employee deduction table. These PL/SQL blocks will be passed information from host or bind variables and a third PL/SQL block which will assign the variables defined in SQL*Plus (e.g. employee number, dollar amount and deduction name). Since the XYZ Company wants to track changes to the employee and employee deduction tables, you will create two database triggers that will update audit tables when rows are changed or deleted.
The XYZ Company also requires a view that will display specific employee information, plus the number of deductions for an employe ...
Star Transformation, 12c Adaptive Bitmap Pruning and In-Memory optionFranck Pachot
Besides adaptive joins and adaptive parallel distribution, 12c comes with Adaptive Bitmap Pruning. I’ll describe the case it applies to and which is often not well known: the Star Transformation
Create a correlation plot from joined tables and lag timesDougLoqa
This explains a process that was captured in this whitepaper posted here: https://www.slideshare.net/DougLoqa/setting-up-a-correlation-plot-on-energy-demand-using-r. It seemed that posting that process in Word document format wasn't as easy to see on some devices. This PowerPoint explains the step-by-step process a little more clearly so you can combine fields of two tables, and look at lag times to connect cause and effect over time. The end result is a correlation plot showing relationships between that cause and the lag times of the effects.
ENGR 102B Microsoft Excel Proficiency LevelsPlease have your in.docxYASHU40
ENGR 102B: Microsoft Excel Proficiency Levels
Please have your instructor or TA initial each level as you complete it. If you need additional help, ask the TAs or use the help guide within Excel.
Once you master Excel Levels I through IV, you can note Excel as a skill on your resume!
Please see D2L Content for this week for your Excel Homework assignment (individual), which is due via D2L Dropbox by the due date specified in the D2L News for your section.
If you use a Mac, please be sure to submit your homework in a format that the grader and instructor can open on a PC.
Level I: Basic Functions Initials _______
1. Calculating an Average: Calculate the arithmetic average of the 5 values listed below. Enter the values in cells A2 through A6. Place a descriptive label in cell A1.
3.6, 3.8, 3.5, 3.7, 3.6
First, calculate the average the long way, by summing the values and dividing by 5:
You will enter the following formula into a blank cell to accomplish this:
=(A2+A3+A4+A5+A6)/5
Second, calculate the average using Excel’s AVERAGE( ) function by entering the following formula in a cell:
=AVERAGE(cellrange)
Replace the “cellrange” with the actual addresses in your spreadsheet of the range of cells holding the five values (i.e., for this problem, the cell range is A2:A6).
2. Determining Velocities (in kph): Some friends at the University of Calgary are coming south for spring break. Help them avoid a speeding ticket by completing a velocity conversion worksheet that calculates the conversion from mph to kph in increments of 10 from 10 to 100. A conversion factor you will need is 0.62 miles/km; you will need this factor to convert from miles/hour to km/hour. Place the conversion factor in its own cell and then reference it in your conversion calculations using absolute cell referencing (e.g., $C$2). Refer to the CBT video on Absolute and Relative Cell Referencing from the “Preparation for the Excel Workshop” assignment if you don’t remember how to do this.
Level II: Advanced Functions Initials _______
1. Projectile Motion I: (See following page for Fig. 1 Excel chart) A projectile is launched at the angle 35o from the horizontal with a velocity equal to 30 m/s. Neglecting air resistance and assuming a horizontal surface, determine how far away from the launch site the projectile will land.
To answer this problem, you will need:
1. Excel’s trigonometry functions to handle the 35o angle, and
2. Equations relating distance to velocity and acceleration
When velocity is constant, as in the horizontal motion of our particle (since we’re neglecting air resistance), the distance traveled is simply the initial horizontal velocity times the time of flight:
(Equation 1)
What keeps the projectile from flying forever is gravity. Since the gravitational acceleration is constant, the vertical distance traveled becomes
(Equation 2)
Because the projectile ends up back on the ground, the final value of y is zero (a hor ...
ZGB - The Role of Generative AI in Government transformation.pdfSaeed Al Dhaheri
This keynote was presented during the the 7th edition of the UAE Hackathon 2024. It highlights the role of AI and Generative AI in addressing government transformation to achieve zero government bureaucracy
A process server is a authorized person for delivering legal documents, such as summons, complaints, subpoenas, and other court papers, to peoples involved in legal proceedings.
Presentation by Jared Jageler, David Adler, Noelia Duchovny, and Evan Herrnstadt, analysts in CBO’s Microeconomic Studies and Health Analysis Divisions, at the Association of Environmental and Resource Economists Summer Conference.
Understanding the Challenges of Street ChildrenSERUDS INDIA
By raising awareness, providing support, advocating for change, and offering assistance to children in need, individuals can play a crucial role in improving the lives of street children and helping them realize their full potential
Donate Us
https://serudsindia.org/how-individuals-can-support-street-children-in-india/
#donatefororphan, #donateforhomelesschildren, #childeducation, #ngochildeducation, #donateforeducation, #donationforchildeducation, #sponsorforpoorchild, #sponsororphanage #sponsororphanchild, #donation, #education, #charity, #educationforchild, #seruds, #kurnool, #joyhome
Many ways to support street children.pptxSERUDS INDIA
By raising awareness, providing support, advocating for change, and offering assistance to children in need, individuals can play a crucial role in improving the lives of street children and helping them realize their full potential
Donate Us
https://serudsindia.org/how-individuals-can-support-street-children-in-india/
#donatefororphan, #donateforhomelesschildren, #childeducation, #ngochildeducation, #donateforeducation, #donationforchildeducation, #sponsorforpoorchild, #sponsororphanage #sponsororphanchild, #donation, #education, #charity, #educationforchild, #seruds, #kurnool, #joyhome
2. V.2 CSPro Tabulation Application
Slide presentations were developed by
Philippine Statistical Research and Training Institute and
Philippine Statistics Authority.
2
5. V.2 CSPro Tabulation Application
Table Post Calculation (Post Calc)
▪ In some cases, there is a need to do additional processing on tables after
all the tabulation is completed such as calculate ratios or sums using the
tabulated data.
▪ CSPro allows you to do this by adding program logic in the PostCalc
section of the Tally Attributes (Table) dialog.
▪ Use program logic to access and modify the cells in a table.
▪ In order to use table post calculations to add additional calculations to the
tabulated data, there is a need to insert a place in the table to put these
calculations.
5
6. V.2 CSPro Tabulation Application
Table Post Calculation (Post Calc)
▪ There are two ways to add a new column:
a. Add a new value to the existing value set for the existing variable
b. Drag a new variable onto the table next to the existing one
▪ Adding a new value to the value set creates a new column under the
existing spanner while adding a new variable creates a new column under
a new spanner.
6
7. V.2 CSPro Tabulation Application
Table Post Calculation (Post Calc)
a. Add a new value to the existing value set for the existing variable
• Male/Female Ratio column added as new value to value set for the
variable Sex. The new column is under the Sex spanner.
7
8. V.2 CSPro Tabulation Application
Table Post Calculation (Post Calc)
a. Add a new value to the existing value set for the existing variable
1. Open CSPro 7.7 and select Create a new application.
2. Select Tabulation Application and click OK.
3. Name the .xtb file as sample1 and click Save.
4. Select hpq_dictionary.dcf as <Input dictionary>.
8
9. V.2 CSPro Tabulation Application
Table Post Calculation (Post Calc)
a. Add a new value to the existing
value set for the existing
variable
5. Drag A05_SEX as column item.
6. Click to switch to Data
Dictionary.
7. Modify A05_SEX value set by adding
a new value.
8. Right-click in Window Pane and
select Add Value.
9
10. V.2 CSPro Tabulation Application
Table Post Calculation (Post Calc)
a. Add a new value to the
existing value set for the
existing variable
9. Specify Sex Ratio as Value Label
and 3 for From properties of the
new value.
10. Click to return to Table
application.
The table will be updated to
include Sex Ratio as another
column.
10
11. V.2 CSPro Tabulation Application
Table Post Calculation (Post Calc)
b. By dragging a new variable onto the table
• Male/Female Ratio column added by dragging a new variable onto the
table. The new column is under a separate spanner.
11
12. V.2 CSPro Tabulation Application
Table Post Calculation (Post Calc)
Post Calculation For Individual Cells
▪ CSPro supports modifying individual cells in a table through PostCalc Logic.
▪ After creating a new column for the calculation, specify PostCalc Logic to
populate the new column.
▪ To access an individual cell in a table, use the table name followed by the indices
of the row and column in parentheses.
▪ Example:
TABLE1(0,3) = TABLE1(0,1) / TABLE1(0,2) * 100;
12
13. V.2 CSPro Tabulation Application
Table Post Calculation (Post Calc)
Post Calculation For Individual Cells
TABLE1(0,3) = TABLE1(0,1) / TABLE1(0,2) * 100;
13
TABLE
NAME
COLUMN
ROW
14. V.2 CSPro Tabulation Application
Table Post Calculation (Post Calc)
Post Calculation For Individual Cells
Note that column and row numbers start at zero, so the first column is column
zero, the second column is column is column 1, etc.
14
0
0 1 2 3
Table(0,0) Table(0,1) Table(0,2) Table(0,3)
15. V.2 CSPro Tabulation Application
Table Post Calculation (Post Calc)
Post Calculation For Individual Cells
▪ To enter PostCalc logic for a table,
open the Tally Attributes (Table)
dialog. Either type the PostCalc logic
directly into the PostCalc area or click
the Edit button next to the PostCalc
area to bring up a larger window to
type in.
▪ Multiple statements may be entered in
PostCalc, provided that each one is
terminated by a semicolon.
15
16. V.2 CSPro Tabulation Application
Table Post Calculation (Post Calc)
Post Calculation For Rows, Columns and Ranges
▪ The PostCalc Logic for assigning rows and columns is similar to that of
individual cells, however there is a simplified syntax for working with cell
ranges, rows and columns. You could set each cell individually with
multiple statements as follows:
TABLE1(0,3) = TABLE1(0,1) / TABLE1(0,2)*100;
TABLE1(1,3) = TABLE1(1,1) / TABLE1(1,2) *100;
TABLE1(2,3) = TABLE1(2,1) / TABLE1(2,2) *100;
: : :
TABLE1(20,3) = TABLE1(20,1) / TABLE1(20,2) *100;
16
17. V.2 CSPro Tabulation Application
Table Post Calculation (Post Calc)
Post Calculation For Rows,
Columns and Ranges
▪ As example, in the Sex Ratio table,
add A09_MARITAL_STATUS
as row item.
▪ Click Tally Attributes.
▪ Click opposite PostCalc
section.
17
18. V.2 CSPro Tabulation Application
Table Post Calculation (Post Calc)
Post Calculation For Rows, Columns and Ranges
▪ Enter the following codes as PostCalc Logic:
TABLE1(0,3) = TABLE1(0,1) / TABLE1(0,2) * 100;
TABLE1(1,3) = TABLE1(1,1) / TABLE1(1,2) * 100;
TABLE1(2,3) = TABLE1(2,1) / TABLE1(2,2) * 100;
TABLE1(3,3) = TABLE1(3,1) / TABLE1(3,2) * 100;
TABLE1(4,3) = TABLE1(4,1) / TABLE1(4,2) * 100;
TABLE1(5,3) = TABLE1(5,1) / TABLE1(5,2) * 100;
TABLE1(6,3) = TABLE1(6,1) / TABLE1(6,2) * 100;
TABLE1(7,3) = TABLE1(7,1) / TABLE1(7,2) * 100;
▪ Click OK.
▪ Click to save and to run.
18
19. V.2 CSPro Tabulation Application
Table Post Calculation (Post Calc)
Post Calculation For Rows, Columns and Ranges
▪ Another way of coding using a range - to use a range, give the lower and
upper limits separated by a colon:
TABLE1[0:20,3] = TABLE1[0:20,1] / TABLE1[0:20,2]*100;
▪ This means divide the cell in column 1 by the cell in column 2 and put the
result in the cell in column 3 for each row from 0 to 20.
19
20. V.2 CSPro Tabulation Application
Table Post Calculation (Post Calc)
Post Calculation For Rows, Columns and Ranges
▪ Another way of coding using a wildcard - use a wildcard (an asterisk) to
specify an entire row or column:
TABLE1[*,3] = TABLE1[*,1] / TABLE1[*,2] * 100;
▪ Using an asterisk in place of the row index means that the operation
applies to all rows in the table.
20
21. V.2 CSPro Tabulation Application
Table Post Calculation (Post Calc)
Post Calculation For Rows, Columns and Ranges
▪ You can only assign ranges or wildcards to each other if the dimensions of
the ranges match.
▪ Example:
TABLE1[0:2, 0:3] = TABLE1[3:5, 0:3];
▪ The above code copies one 3 by 4 region of the table to another 3 by 4
region.
21
22. V.2 CSPro Tabulation Application 22
CSPro Tabulation Application
HP-I1. Average per Capita Weekly Food Consumption Expenditure
by Barangay: Municipality of Sugpon, 2022
EXAMPLE
23. V.2 CSPro Tabulation Application
1. Open CSPro 7.7 and select Create a new application.
2. Select Tabulation Application and click OK.
3. Name the .xtb file as HP-I1 and click Save.
4. Select hpq_dictionary.dcf as <Input dictionary>.
23
HP-I1 Average per Capita Weekly Food Consumption Expenditure by Barangay: Municipality of Sugpon, 2022
24. V.2 CSPro Tabulation Application
5. Right-click the Working Storage
Record at the bottom of the Tree
Pane
6. Select Add Item to create two
new items.
• Household
• Indicator
24
HP-I1 Average per Capita Weekly Food Consumption Expenditure by Barangay: Municipality of Sugpon, 2022
25. V.2 CSPro Tabulation Application
Refer to the following for the properties of the newly added items:
25
HP-I1 Average per Capita Weekly Food Consumption Expenditure by Barangay: Municipality of Sugpon, 2022
26. V.2 CSPro Tabulation Application
7. Add a value set in the created item, Household.
8. Add a value set in the created item, Indicator.
26
HP-I1 Average per Capita Weekly Food Consumption Expenditure by Barangay: Municipality of Sugpon, 2022
27. V.2 CSPro Tabulation Application
9. Drag all the newly created variables as column variable.
10. Remove the Total column from the Tally Attributes(variable_name) of
each variable.
27
HP-I1 Average per Capita Weekly Food Consumption Expenditure by Barangay: Municipality of Sugpon, 2022
28. V.2 CSPro Tabulation Application
11. Indicate proper Table Title and Footnote.
Table Title:
Average per Capita Weekly Food Consumption Expenditure by Barangay:
Municipality of Sugpon, 2022
Footnote: 2022 Community-Based Monitoring System (CBMS)
28
HP-I1 Average per Capita Weekly Food Consumption Expenditure by Barangay: Municipality of Sugpon, 2022
29. V.2 CSPro Tabulation Application
12. Click Tally Attributes.
13. Under the Table (Subtables): Entire Table, specify the universe.
HSN < 7777 and RESULT_OF_VISIT = 1
29
HP-I1 Average per Capita Weekly Food Consumption Expenditure by Barangay: Municipality of Sugpon, 2022
30. V.2 CSPro Tabulation Application
14. Next, click the dropdown under the Table (Subtables): and select
SYSTEM_TOTAL by INDICATOR.
15. Then, specify the corresponding codes below:
Value Tallied: I04_TOTAL_FOOD_CONSUMPTION / count(SECTION_A_TO_E
where A02_RELATION_TO_HH_HEAD in 1:23)
Tab Logic: INDICATOR = 2;
PostCalc: TABLE1[*,1] = (TABLE1[*,1] / TABLE1[*,0]) / 52;
30
HP-I1 Average per Capita Weekly Food Consumption Expenditure by Barangay: Municipality of Sugpon, 2022
31. V.2 CSPro Tabulation Application
16. Next, click the dropdown
under the Table (Subtables): and
select SYSTEM_TOTAL by
HOUSEHOLD.
17. Then, specify the TabLogic.
HOUSEHOLD = 1;
31
HP-I1 Average per Capita Weekly Food Consumption Expenditure by Barangay: Municipality of Sugpon, 2022
32. V.2 CSPro Tabulation Application 32
HP-I1 Average per Capita Weekly Food Consumption Expenditure by Barangay: Municipality of Sugpon, 2022
33. V.2 CSPro Tabulation Application
18. Click to specify area.
19. Select Region to Barangay from
the list of Questionnaire Items.
20. Click to add it into the Area
Items box and click OK.
33
HP-I1 Average per Capita Weekly Food Consumption Expenditure by Barangay: Municipality of Sugpon, 2022
34. V.2 CSPro Tabulation Application
21. Click to save and to run.
22. Select:
sample_data.csdb as
<Input Data>
RegProvMunBrgy.anm as
<Area Names>
and click OK.
34
HP-I1 Average per Capita Weekly Food Consumption Expenditure by Barangay: Municipality of Sugpon, 2022
35. V.2 CSPro Tabulation Application 35
EXERCISE 12
Tabulate:
HP-I2. Average per Capita Monthly Food Consumption Expenditure by
Barangay: Municipality of Sugpon, 2022